CN109542205A - Electronic equipment, data processing method and storage medium - Google Patents

Electronic equipment, data processing method and storage medium Download PDF

Info

Publication number
CN109542205A
CN109542205A CN201811360828.2A CN201811360828A CN109542205A CN 109542205 A CN109542205 A CN 109542205A CN 201811360828 A CN201811360828 A CN 201811360828A CN 109542205 A CN109542205 A CN 109542205A
Authority
CN
China
Prior art keywords
equipment
battery
electricity
processor
pending data
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
CN201811360828.2A
Other languages
Chinese (zh)
Other versions
CN109542205B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811360828.2A priority Critical patent/CN109542205B/en
Publication of CN109542205A publication Critical patent/CN109542205A/en
Application granted granted Critical
Publication of CN109542205B publication Critical patent/CN109542205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the present application provides a kind of electronic equipment, data processing method and storage medium, electronic equipment includes the first equipment and the second equipment of communication connection, first equipment includes the first battery, first memory, comparator and first processor, first processor is electrically connected with the first battery, first memory and comparator respectively, and the second equipment includes the second battery;First memory is stored with the first pending data;Comparator is used to compare the size of the first electricity of the first battery and the second electricity of the second battery, to obtain comparison result;First processor be used for according to comparison result from the first equipment and the second equipment selection target equipment to handle the first pending data.The embodiment of the present application can reduce the consumption of electricity in the lower equipment of electricity.

Description

Electronic equipment, data processing method and storage medium
Technical field
This application involves electronic technology fields, in particular to a kind of electronic equipment, data processing method and storage medium.
Background technique
With the development of communication technology, the electronic equipments such as smart phone are more more and more universal.In the use of electronic equipment In the process, the battery in electronic equipment is as power supplies such as the power consuming devices, such as processor, display screen that power supply is electronic equipment.
Wherein, split type equipment may include the host and extension set of connection, can have main battery in host, main battery can Think host supplying power.It can have a point battery in extension set, divide battery that can power for extension set.The power consumption condition of host and extension set can Can be different, there are host electricity to exhaust, and the situation of extension set electricity abundance.It is also possible to there are extension set electricity to exhaust, and host The situation of electricity abundance.Cause entire split type equipment can not normal use.
Summary of the invention
The embodiment of the present application provides a kind of electronic equipment, data processing method and storage medium, it is possible to reduce electronic equipment The consumption of the middle lower battery of electricity.
The embodiment of the present application provides a kind of electronic equipment, and the electronic equipment includes the first equipment and second of communication connection Equipment, first equipment include the first battery, first memory, comparator and first processor, the first processor point It is not electrically connected with first battery, the first memory and the comparator, second equipment includes the second electricity Pond;
The first memory is stored with the first pending data;
The comparator, the second electricity of the first electricity and second battery for first battery it is big It is small, to obtain comparison result;
The first processor, for being selected from first equipment and second equipment according to the comparison result Target device is to handle first pending data.
The embodiment of the present application provides a kind of data processing method, is applied to electronic equipment, and the electronic equipment includes communication The first equipment and the second equipment of connection, which comprises
First equipment receives the first pending data;
First equipment obtains the first electricity of first equipment and the second electricity of second equipment;
First electricity and second electricity are compared by first equipment, obtain comparison result;
According to the comparison result, the selection target from first equipment and second equipment is set first equipment For to handle first pending data.
The embodiment of the present application provides a kind of storage medium, is stored thereon with computer program, and described program is held by processor The step of method as described above is realized when row.
In the embodiment of the present application, it is more that the result that first processor can relatively be obtained according to comparator selects electricity Target device handles the first pending data by target device, it is possible to reduce the consumption of electricity in the lower equipment of electricity.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described.
Fig. 1 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 2 is the broken away view of electronic equipment shown in Fig. 1.
Fig. 3 is the block diagram of the first equipment shown in Fig. 2.
Fig. 4 is the block diagram of the second equipment shown in Fig. 2.
Fig. 5 is the block diagram of electronic equipment provided by the embodiments of the present application.
Fig. 6 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Fig. 7 is the flow diagram of data processing method provided by the embodiments of the present application.
Specific embodiment
The embodiment of the present application provides a kind of electronic equipment, data processing method and storage medium.It will carry out respectively below detailed It describes in detail bright.Electronic equipment can be the equipment such as smart phone, tablet computer.
Fig. 1 and Fig. 2 are please referred to, Fig. 1 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application, and Fig. 2 is Fig. 1 institute Show the broken away view of electronic equipment.Electronic equipment 10 may include the first equipment 100 and the second equipment 200.First equipment 100 and Two equipment 200 can be detachably fixed connection with physical connection, such as the first equipment 100 and the second equipment 200.First equipment 100 Communication can be realized by wired or wireless mode with when the second 200 physical connection of equipment or when physical separation, for example passed through The mode of interface and signal wire connecting realizes the communication of the first equipment 100 and the second equipment 200.First equipment, 100 He for another example Second equipment 200 passes through the wireless communication modes such as bluetooth, Wireless Fidelity (WIreless-Fidelity, WiFi).
In the description of the present application, term " first ", " second " are used for description purposes only, and should not be understood as instruction or dark Show relative importance or implicitly indicates the quantity of indicated technical characteristic.The feature of " first ", " second " is defined as a result, It can explicitly or implicitly include one or more feature.
It should be noted that the first equipment 100 and the second equipment 200 can also only realize communication, and connect without physics It connects.Such as first equipment 100 be smart phone, the second equipment 200 be augmented reality (Augmented Reality, AR) equipment, The accessories such as earphone, Intelligent bracelet, the first equipment 100 and the second equipment 200 wirelessly realize communication.
It should also be noted that, in the description of the present application unless specifically defined or limited otherwise, term " installation ", " connected ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integrally connect It connects;It can be mechanical connection, be also possible to be electrically connected or can mutually communicate;It can be directly connected, centre can also be passed through Medium is indirectly connected, and can be the connection inside two elements or the interaction relationship of two elements.For the general of this field For logical technical staff, the concrete meaning of above-mentioned term in this application can be understood as the case may be.
Wherein, the first equipment 100 can be used as the main equipment of electronic equipment 10, and the first equipment 100 can be used alone.? In some embodiments, the first equipment 100 may include first circuit board 120, the first battery 140 and first shell 160.First electricity Road plate 120 and the first battery 140 may be mounted in first shell 160.First battery 140 and first circuit board 120 electrically connect It connects, the first battery 140 is that the first equipment 100 provides electric energy.
Referring to Fig. 3, Fig. 3 is the block diagram of the first equipment shown in Fig. 2.First equipment 100 may include first processor 122, first memory 124 and the first telecommunication circuit 126.First processor 122, first memory 124 and the first telecommunication circuit 126 can integrate on first circuit board 120.It should be noted that first processor 122, first memory 124 and first Telecommunication circuit 126 can also be separately positioned with first circuit board 120 according to demand.
Wherein, the first telecommunication circuit 126 can be electrically connected with first processor 122.First telecommunication circuit 126 can wrap Include the first short-range communication circuit and/or the first wire communication circuit.Wherein, the first short-range communication circuit may include bluetooth Or WiFi.Wherein, the first wire communication circuit may include that universal serial bus (Universal Serial Bus, USB) connects Mouthful.
Wherein, first memory 124 can be electrically connected with first processor 122.First memory 124 can be used for storing Computer program and data.It include that can be executed in first processor 122 in the computer program that first memory 124 stores Instruction or program, for example first memory 124 is stored with the first pending data in the first equipment 100.Computer program can To form various functional modules.Wherein, the first pending data can be the data such as program, the process of operation.
Wherein, first processor 122 and the first battery 140 are electrically connected.First processor 122 can be used as the first equipment 100 control centre can use the various pieces of entire first equipment 100 of various interfaces, connection, by running or adding The computer program being stored in first memory 124 is carried, and calls the data being stored in first memory 124, is executed The various functions and processing data of first equipment 100, to carry out integral monitoring to the first equipment 100.In some embodiments, First processor 122 can handle the first pending data being stored in first memory 124.
Wherein, first shell 160 can be used as the external frame of the first equipment 100, form the main body knot of the first equipment 100 Structure.First shell 160 can be using plastic material, metal material, ceramic material, glass material etc..In some embodiments, One shell 160 is provided with placing groove 162, and placing groove 162 can place the second equipment 200, and the second equipment 200 is placed on placing groove It can be placed the side wall package of 162 periphery of slot in 162, limited with being realized to the second equipment 200.It should be noted that first Shell 160 can also be not provided with placing groove 162, and the second equipment 200 also can be arranged directly on the outer surface of first shell 160.
It should be noted that the first equipment 100 is not limited to upper-part.Such as first equipment 100 may include first CCD camera assembly, the first CCD camera assembly may include the devices such as camera, ambient light sensor, infrared sensor, flash lamp. First CCD camera assembly can be arranged directly on the first circuit board 120 of the first equipment 100, can also pass through signal wire and The first circuit board 120 of one equipment 100 is electrically connected.
Also such as the first equipment 100 may include the first display screen, and the first display screen can show picture.
Wherein, the second equipment 400 can be used as the sub- equipment of electronic equipment 10, and the second equipment 400 can be used alone.It needs It is noted that the second equipment 400 can also be used as the main equipment of electronic equipment 10, the first equipment 200 can also be used as electronics The sub- equipment of equipment 10.
In some embodiments, the second equipment 200 may include second display screen 202 and third display screen 204, and second is aobvious Display screen 202 can be fixedly connected with third display screen 204 by interconnecting piece 206, to form integral structure.Wherein, the second display An overall structure can be made using flexible material in screen 202, interconnecting piece 206 and third display screen 204, can form one entirely Shield the display screen of display.I.e. second display screen 202, interconnecting piece 206 and third display screen 204 are integrally formed, second display screen 202, interconnecting piece 206 and third display screen 204 can show picture jointly.Second display screen 202, interconnecting piece 206 and third are aobvious Display screen 204 may be implemented bending, fold.
It should be noted that second display screen 202, interconnecting piece 206 and third display screen 204 can not also be integrally formed. Interconnecting piece 206 can be made of flexible material, and interconnecting piece 206 may be implemented bending, fold, second display screen 202 and third Display screen 204 can bend in other words, fold relative to 206 activity of interconnecting piece.Interconnecting piece 206 can show picture, can also be with Do not show picture.
In some embodiments, second display screen 202, interconnecting piece 206 and third display screen 204 can be set in first shell In the placing groove 162 of body 160, the physical connection of the first equipment 100 and the second equipment 200 is realized.Second display screen 202, connection Portion 206 and third display screen 204 can also be disassembled out of placing groove 162, realize the first equipment 100 and the second equipment 200 Physical separation.First equipment 100 and the second equipment 200 can be realized by modes such as clamping, snappings is detachably fixed connection. Wherein, second display screen 202 and third display screen 204 can be set on two opposite faces of first shell 160.Wherein, even Socket part 206 can be set on a side of first shell 160.
In some embodiments, the second equipment 200 may include second circuit board 220 and the second battery 240.Second circuit Plate 220 and the second battery 240 can be set in second display screen 202, and second circuit board 220 and the second battery 240 can also be with It is arranged in third display screen 204.It should be noted that second circuit board 220 and the second battery 240 can also be provided separately, For example second circuit board 220 is arranged in second display screen 202, the second battery 240 is arranged in third display screen 204.Second Circuit board 220 and the second battery 240 are electrically connected, and the second battery 240 is that the second equipment 200 provides electric energy.
Referring to Fig. 4, Fig. 4 is the block diagram of the second equipment shown in Fig. 2.Second equipment 200 may include second processor 222, second memory 224 and the second telecommunication circuit 226.Second processor 222, second memory 224 and the second telecommunication circuit 226 can integrate on second circuit board 220.It should be noted that second processor 222, second memory 224 and second Telecommunication circuit 226 can also be separately positioned with second circuit board 220 according to demand.
Wherein, the second telecommunication circuit 226 can be electrically connected with second processor 222.Second telecommunication circuit 226 can wrap Include the second short-range communication circuit and/or the second wire communication circuit.Wherein, the second short-range communication circuit may include bluetooth Or WiFi.Wherein, the second wire communication circuit may include that universal serial bus (Universal Serial Bus, USB) connects Mouthful.Wired or wireless communication mode may be implemented in second telecommunication circuit 226 and the first telecommunication circuit 126.
Wherein, second memory 224 can be electrically connected with second processor 222.Second memory 224 can be used for storing Computer program and data.It include that can be executed in second processor 222 in the computer program that second memory 224 stores Instruction or program, for example second memory 224 is stored with the second pending data in the second equipment 200.In some embodiments In, computer program and data that second memory 224 is stored be less than the computer program that first memory 124 is stored and Data.
Wherein, second processor 222 and the second battery 240 are electrically connected.Second processor 222 can be used as the second equipment 200 control centre can use the various pieces of entire second equipment 200 of various interfaces, connection, by running or adding The computer program being stored in second memory 224 is carried, and calls the data being stored in second memory 224, is executed The various functions and processing data of second equipment 200, to carry out integral monitoring to the second equipment 200.In some embodiments, Second processor 222 can handle the second pending data being stored in second memory 224.
In some embodiments, second processor 222 handles computer program and the ability of data is less than first memory The ability of 124 processing computer programs and data.
In some embodiments, memory capacity of the memory capacity of the second battery 240 less than the first battery 140.
In some embodiments, second processor 222 can also handle be stored in first memory 124 first wait locate Manage data.
Referring to Fig. 5, Fig. 5 is the block diagram of electronic equipment provided by the embodiments of the present application.Electronic equipment 10 can also include First voltameter 142, the second voltameter 242 and comparator 128.
Wherein, the first voltameter 142 can be set in the first equipment 100, for example the first voltameter 142 is integrated in first On the first circuit board 120 of equipment 100.It should be noted that the first voltameter 142 also can be set in 140 He of the first battery Between first circuit board 120.First voltameter 142 can be electrically connected with the first battery 140, and the first voltameter 142 can obtain Take the first remaining capacity of the first battery 140.And first voltameter 142 can be got the first of the first battery 140 Residual circuit is transferred to comparator 128.
It should be noted that the first voltameter 142 be not limited to obtain the first battery 140 the first remaining capacity, first First residual power percentage of also available first battery 140 of voltameter 142.Wherein, the first residual power percentage is First battery 140 is in the ratio of current power state and electricity full state.
Wherein, the second voltameter 242 can be set in the second equipment 200, for example the second voltameter 242 is integrated in second On the second circuit board 220 of equipment 100.It should be noted that the second voltameter 242 also can be set in 240 He of the second battery Between second circuit board 220.Second voltameter 242 can be electrically connected with the second battery 240, and the second voltameter 242 can obtain Take the second remaining capacity of the second battery 240.And second voltameter 242 can be got the second of the second battery 240 Remaining capacity is transferred to second processor 222, and by the communications of the second telecommunication circuit 226 and the first telecommunication circuit 126 to Comparator 128.
It should be noted that the second voltameter 242 be not limited to obtain the second battery 240 the second remaining capacity, second Second residual power percentage of also available second battery 240 of voltameter 242.Wherein, the second residual power percentage is Second battery 240 is in the ratio of current power state and electricity full state.
Wherein, comparator 128 can be set in the first equipment 100, for example comparator 128 is integrated in the first equipment 100 First circuit board 120 on.Comparator 128 can be electrically connected with first processor 122, and comparator 128 can also directly collect At on first processor 122.
It should be noted that comparator 128 is not limited to be arranged in the first equipment 100.Comparator 128 also can be set In the second equipment 200, for example comparator 128 is integrated on the second circuit board 220 of the second equipment 200.Comparator 128 can be with It is electrically connected with second processor 222, comparator 128 can also be directly integrated in second processor 222.
In some embodiments, comparator 128 can obtain the first residue of the first battery 140 from the first voltameter 142 Electricity and comparator 128 can obtain the second remaining capacity of the second battery 240 from the second voltameter 242.Then, compare Device 128 can compare the size of the first remaining capacity of the first battery 140 and the second remaining capacity of the second battery 240, and can To show that comparison result can be transferred to first processor 122 by comparison result, comparator 128.It should be noted that at first Reason device 122 can also obtain comparison result from comparator 128.
Wherein, comparison result includes: that the first remaining capacity of the first battery 140 is greater than the second residue of the second battery 240 Electricity, the first remaining capacity of the first battery 140 less than the second battery 240 the second remaining capacity, the first of the first battery 140 Second remaining capacity of remaining capacity and the second battery 240 is roughly equal.It is understood that the first of the first battery 140 is surplus Roughly equal second remaining capacity of remaining electricity and the second battery 240 is in a lesser range.The of first battery 140 The one remaining capacity range roughly equal with the second remaining capacity of the second battery 240 can be set according to actual needs.
In some embodiments, comparator 128 can obtain the first residue of the first battery 140 from the first voltameter 142 Electricity percentage and comparator 128 can obtain the second remaining capacity percentage of the second battery 240 from the second voltameter 242 Than.Then, comparator 128 can compare the first residual power percentage of the first battery 140 and the second of the second battery 240 remains The size of remaining electricity percentage, and it can be concluded that comparison result can be transferred to first processor by comparison result, comparator 128 122.It should be noted that first processor 122 can also obtain comparison result from comparator 128.
Wherein, comparison result includes: that the first residual power percentage of the first battery 140 is greater than the of the second battery 240 Two residual power percentages, the second remaining capacity of the first residual power percentage of the first battery 140 less than the second battery 240 Percentage, the second residual power percentage substantially phase of the first residual power percentage of the first battery 140 and the second battery 240 Deng.It is understood that the second remaining capacity hundred of the first residual power percentage of the first battery 140 and the second battery 240 Point than it is roughly equal be in a lesser range.First residual power percentage of the first battery 140 and the second battery 240 The roughly equal range of the second residual power percentage can be set according to actual needs.
First processor 122 gets the first residual power percentage and the second electricity of the first battery 140 from comparator 128 After the comparison result of second residual power percentage in pond 240, first processor 122 can be according to comparison result from the first equipment 100 and second select target device to handle the first pending data or/and the second pending data in equipment 200.
Specifically, when the comparison result of comparator 128 is the first residual power percentage of the first battery 140 less than second When the second electricity percentage of battery, the second equipment 200 can be selected as target device by first processor 122, to pass through the Two equipment 200 handle the first pending data.First equipment 100 can pass through the first telecommunication circuit 126 and the second telecommunication circuit First pending data is transmitted to the second equipment 200 by 226 communication, and is handled by the second processor 222 of the second equipment 200 First pending data.Second processor 222 can be directly by second display screen 202 and after having handled the first pending data Processing result can also be transmitted to first after having handled the first pending data by the display of three display screens 204, second processor 222 Equipment 100.Meanwhile second processor 222 can also handle the second pending data.
Further, when the first residual power percentage that the comparison result of comparator 128 is the first battery 140 is less than the Second electricity percentage of two batteries, and the first remaining capacity of the second electricity percentage of the second battery and the first battery 140 When the difference of percentage is greater than preset value, the second equipment 200 can be selected as target device by first processor 122, to pass through Second equipment 200 handles the first pending data.Wherein, preset value can be 10%, 12%, 15%, 17%, 20% etc..
When the first residual power percentage that the comparison result of comparator 128 is the first battery 140 is greater than the second battery When the second electricity percentage, the first equipment 100 can be selected as target device by first processor 122, to pass through the first equipment 100 first processor 122 handles the second pending data.Second equipment 200 can pass through the first telecommunication circuit 126 and second Second pending data is sent to the first equipment 100 by the communication of telecommunication circuit 226, and by the first processing of the first equipment 100 Device 122 handles the second pending data.First processor 122 can return to processing result after having handled the second pending data To the second equipment 200, can be shown by second display screen 202 and third display screen 204.Meanwhile first processor 122 can be with Handle the first pending data, the processing result that handle the first pending data can also be transmitted to the by first processor 122 Two equipment 200 can be shown by second display screen 202 and third display screen 204.
Further, when the first residual power percentage that the comparison result of comparator 128 is the first battery 140 is greater than the Second electricity percentage of two batteries, and the second electricity of the first residual power percentage of the first battery 140 and the second battery When the difference of percentage is greater than preset value, the first equipment 100 can be selected as target device by first processor 122, to pass through First equipment 100 handles the second pending data.Wherein, preset value can be 10%, 12%, 15%, 17%, 20% etc..
To handle data by the more equipment of residual power percentage, the more equipment of residual power percentage can be accelerated The electricity of middle battery can save the electricity of battery in the less equipment of residual power percentage.Electronic equipment 10 can be improved Standby time.And when the difference of residual power percentage between each battery is little, the residual power percentage phase of each battery It is poor little, it is not necessary that the transfer processing of data is carried out, but when the difference of each battery dump energy percentage is greater than certain threshold The transfer processing of data is just carried out in the case where value.
When the of the first residual power percentage and the second battery that the comparison result of comparator 128 is the first battery 140 When two electricity percentages are roughly equal, since the processing capacity of first processor 122 in the first equipment 100 is greater than the second equipment The processing capacity of second processor 222 in 200, first processor 122 can be by 100 selection target equipment of the first equipment, with logical The first processor 122 for crossing the first equipment 100 handles the second pending data.Meanwhile first processor 122 can also handle One pending data.It is understood that when the first remaining capacity hundred that the comparison result of comparator 128 is the first battery 140 Point than it is roughly equal with the second electricity percentage of the second battery when, first processor 122 can handle the first pending data, Second processor 222 can handle the second pending data.
It should be noted that the second electricity percentage of the first residual power percentage of the first battery 140 and the second battery Than it is roughly equal be the first battery 140 the first residual power percentage and the second battery the second electricity percentage difference Range is between 0 to 5%.
In the case where the residual power percentage of two batteries is roughly equal, handled by the strong processor of processing capacity Data can be accelerated to handle data, and processing speed in contrast can be improved, and covert saves electricity.And processing capacity compared with The battery capacity of strong processor one end is bigger so that the remaining capacity of two batteries of two equipment can achieve it is relatively flat Weighing apparatus, can be improved the standby time of electronic equipment 10, so that electronic equipment 10 can be used normally in user.
The above are the specific acts of one kind that the embodiment of the present application handles data to the electronic equipment 10 at least two parts Example explanation.The specific structure of electronic equipment 10 is not limited to this, and the mode that electronic equipment 10 handles data is also not necessarily limited to this.
For example, referring to Fig. 6, Fig. 6 is another structural schematic diagram of electronic equipment provided by the embodiments of the present application.Electronics is set The first equipment 100 in standby 10 can be fixedly connected with the second equipment 200.Second equipment 200 can be fixed on the first equipment 100 On, the second equipment 200 can also be disassembled from the first equipment 100.
Wherein, the first shell 160 of the first equipment 100 may include the first main body 164, the second main body 166 and shaft 168.First main body 164 and shaft 168 are connected by a hinge, for example the first main body 164 is connected with shaft 168 by pin shaft, the One main body 164 can be rotated around shaft 168.Second main body 166 and shaft 168 are connected by a hinge, such as the second main body 166 It is connected with shaft 168 by pin shaft, the second main body 166 can be rotated around shaft 168.
In some embodiments, the first main body 164 and the second main body 166 can be rotated by shaft 168 is folded in one It rises, forms folded state.In folded state, together with the first main body 164 is least partially overlapped with the second main body 166, first is main Body 164 and the second main body 166 are located at the same side of shaft 168.First main body 164 and the second main body 166 can pass through shaft 168 It rotates and separates, form opening state.In opening state, the first main body 164 and the second main body 166 are not overlapped, the first main body 164 The two sides of shaft 168 are located at the second main body 166.
Wherein, the second display screen 202 of the second equipment 200 can be set in the first main body 164, the second equipment 200 Third display screen 204 can be set in the second main body 166, and the interconnecting piece 206 of the second equipment 200 can be set in shaft 168 On.Second display screen 202 and third display screen 204 can be folded by interconnecting piece 206.
Below from the angle description of processing data method.
Referring to Fig. 7, Fig. 7 is the flow diagram of data processing method provided by the embodiments of the present application.In conjunction with Fig. 1 to figure 6, data processing method may include:
301, the first equipment 100 receives the first pending data.
Wherein, the first pending data can store in the first memory 124 of the first equipment 100.
302, the first equipment 100 obtains the first electricity of the first equipment 100 and the second electricity of the second equipment 200.
Wherein, the first electricity of the first equipment 100 can be the first remaining electricity of the first battery 140 in the first equipment 100 Amount, the first electricity of the first equipment 100 may be the first residual power percentage of the first battery 140 in the first equipment 100. The first remaining capacity or the first remaining electricity of the first battery 140 can be obtained by the first voltameter 142 in the first equipment 100 Measure percentage.
First voltameter 142 get the first battery 140 the first remaining capacity or the first residual power percentage after can Comparator 128 is transmitted to the data that will acquire.It is of course also possible to actively be obtained by comparator 128.
Wherein, the second electricity of the second equipment 200 can be the second remaining electricity of the second battery 240 in the second equipment 200 Amount, the second electricity of the second equipment 200 may be the second residual power percentage of the second battery 240 in the second equipment 200. The second remaining capacity or the second remaining electricity of the second battery 240 can be obtained by the second voltameter 242 in the second equipment 200 Measure percentage.
Second voltameter 242 get the second battery 240 the second remaining capacity or the second residual power percentage after can Comparator 128 is transmitted to the data that will acquire.It is of course also possible to actively be obtained by comparator 128.
303, the first electricity and the second electricity are compared by the first equipment 100, obtain comparison result.
Wherein, the first equipment 100 can be by the comparator 128 that is arranged in the first equipment 100 by the first battery 140 First residual power percentage is compared with the second residual power percentage of the second battery 242, to obtain comparison result.
Wherein, comparison result includes: that the first residual power percentage of the first battery 140 is greater than the of the second battery 240 Two residual power percentages, the second remaining capacity of the first residual power percentage of the first battery 140 less than the second battery 240 Percentage, the second residual power percentage substantially phase of the first residual power percentage of the first battery 140 and the second battery 240 Deng.It is understood that the second remaining capacity hundred of the first residual power percentage of the first battery 140 and the second battery 240 Point than it is roughly equal be in a lesser range.First residual power percentage of the first battery 140 and the second battery 240 The roughly equal range of the second residual power percentage can be set according to actual needs.
It should be noted that when comparator 128 is arranged in the second equipment 200, then it is electric by first by the second equipment 200 Amount and the second electricity are compared, and obtain comparison result.
304, the first equipment 100 according to comparison result from the first equipment 100 and the second equipment 200 selection target equipment with Handle the first pending data.
When the comparison result of comparator 128 is the first residual power percentage of the first battery 140 less than the second battery When the second electricity percentage, the second equipment 200 can be selected as target device by first processor 122, to pass through the second equipment 200 the first pending datas of processing.First equipment 100 can pass through the logical of the first telecommunication circuit 126 and the second telecommunication circuit 226 First pending data is transmitted to the second equipment 200 by letter, and by the second processor 222 of the second equipment 200 processing first to Handle data.Second processor 222 can directly be shown by second display screen 202 and third after having handled the first pending data Processing result can also be transmitted to the first equipment after having handled the first pending data by 204 display of screen, second processor 222 100.Meanwhile second processor 222 can also handle the second pending data.
Further, when the first residual power percentage that the comparison result of comparator 128 is the first battery 140 is less than the Second electricity percentage of two batteries, and the first remaining capacity of the second electricity percentage of the second battery and the first battery 140 When the difference of percentage is greater than preset value, the second equipment 200 can be selected as target device by first processor 122, to pass through Second equipment 200 handles the first pending data.Wherein, preset value can be 10%, 12%, 15%, 17%, 20% etc..
When the first residual power percentage that the comparison result of comparator 128 is the first battery 140 is greater than the second battery When the second electricity percentage, the first equipment 100 can be selected as target device by first processor 122, to pass through the first equipment 100 first processor 122 handles the second pending data.Second equipment 200 can pass through the first telecommunication circuit 126 and second Second pending data is sent to the first equipment 100 by the communication of telecommunication circuit 226, and by the first processing of the first equipment 100 Device 122 handles the second pending data.First processor 122 can return to processing result after having handled the second pending data To the second equipment 200, can be shown by second display screen 202 and third display screen 204.Meanwhile first processor 122 can be with Handle the first pending data, the processing result that handle the first pending data can also be transmitted to the by first processor 122 Two equipment 200 can be shown by second display screen 202 and third display screen 204.
Further, when the first residual power percentage that the comparison result of comparator 128 is the first battery 140 is greater than the Second electricity percentage of two batteries, and the second electricity of the first residual power percentage of the first battery 140 and the second battery When the difference of percentage is greater than preset value, the first equipment 100 can be selected as target device by first processor 122, to pass through First equipment 100 handles the second pending data.Wherein, preset value can be 10%, 12%, 15%, 17%, 20% etc..
To handle data by the more equipment of residual power percentage, the more equipment of residual power percentage can be accelerated The electricity of middle battery can save the electricity of battery in the less equipment of residual power percentage.And when remaining between each battery When the difference of electricity percentage is little, the residual power percentage of each battery is not much different, it is not necessary that carries out the transfer of data Processing, but at the transfer for just carrying out data in the case that the difference of each battery dump energy percentage is greater than certain threshold value Reason.
When the of the first residual power percentage and the second battery that the comparison result of comparator 128 is the first battery 140 When two electricity percentages are roughly equal, since the processing capacity of first processor 122 in the first equipment 100 is greater than the second equipment The processing capacity of second processor 222 in 200, first processor 122 can be by 100 selection target equipment of the first equipment, with logical The first processor 122 for crossing the first equipment 100 handles the second pending data.Meanwhile first processor 122 can also handle One pending data.It is understood that when the first remaining capacity hundred that the comparison result of comparator 128 is the first battery 140 Point than it is roughly equal with the second electricity percentage of the second battery when, first processor 122 can handle the first pending data, Second processor 222 can handle the second pending data.
It should be noted that the second electricity percentage of the first residual power percentage of the first battery 140 and the second battery Than it is roughly equal be the first battery 140 the first residual power percentage and the second battery the second electricity percentage difference Range is between 0 to 5%.
In the case where the residual power percentage of two batteries is roughly equal, handled by the strong processor of processing capacity Data can be accelerated to handle data, and processing speed in contrast can be improved, and covert saves electricity.And processing capacity compared with The battery capacity of strong processor one end is bigger so that the remaining capacity of two batteries of two equipment can achieve it is relatively flat Weighing apparatus, so that electronic equipment 10 can be used normally in user.
The embodiment of the present application also provides a kind of storage medium, computer program is stored in the storage medium, when described When computer program is run on computers, the computer executes data processing method described in above-described embodiment
It should be noted that those of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or Part steps are relevant hardware can be instructed to complete by computer program, and the computer program can store in meter In calculation machine readable storage medium storing program for executing, the storage medium be can include but is not limited to: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Detailed Jie has been carried out to electronic equipment provided by the embodiments of the present application, data processing method and storage medium above It continues.Specific examples are used herein to illustrate the principle and implementation manner of the present application, and the explanation of above embodiments is only It is to be used to help understand the application.Meanwhile for those skilled in the art, according to the thought of the application, in specific embodiment party There will be changes in formula and application range, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (11)

1. a kind of electronic equipment, which is characterized in that the electronic equipment includes the first equipment and the second equipment of communication connection, institute State the first equipment include the first battery, first memory, comparator and first processor, the first processor respectively with it is described First battery, the first memory and the comparator are electrically connected, and second equipment includes the second battery;
The first memory is stored with the first pending data;
The comparator, the size of the second electricity of the first electricity and second battery for first battery, To obtain comparison result;
The first processor, for according to the comparison result from first equipment and second equipment selection target Equipment is to handle first pending data.
2. electronic equipment according to claim 1, which is characterized in that when that the comparison result is first battery When one electricity is less than the second electricity of second battery, the first processor is used to second equipment being selected as target Equipment, to handle first pending data by second equipment.
3. electronic equipment according to claim 2, which is characterized in that when that the comparison result is first battery When one electricity is less than the second electricity of second battery, first pending data is transmitted to described by first equipment Second equipment, second equipment receive first pending data and handle first pending data.
4. electronic equipment according to claim 2, which is characterized in that when that the comparison result is first battery One electricity is less than the second electricity of second battery, and the second of the first electricity of first battery and second battery When the difference of electricity is greater than preset value, the first processor is used to second equipment being selected as target device, to pass through Second equipment handles first pending data.
5. electronic equipment according to claim 1, which is characterized in that when that the comparison result is first battery When one electricity is equal to the second electricity of second battery, the first processor is used for first equipment and described second What processing capacity was strong in equipment is selected as target device, to handle first pending data.
6. electronic equipment according to claim 1, which is characterized in that when that the comparison result is first battery When one electricity is greater than the second electricity of second battery, the first processor is used to first equipment being selected as target Equipment, and handle first pending data.
7. electronic equipment according to any one of claims 1 to 6, which is characterized in that the capacity of first battery is greater than The capacity of second battery, the processing capacity of the first processor are greater than the processing capacity of the second processor.
8. according to claim 1 to any one of 6 electronic equipment, which is characterized in that second equipment includes display screen, institute Display screen is stated for showing the result for handling the pending data.
9. a kind of data processing method, it is applied to electronic equipment, which is characterized in that the electronic equipment includes the of communication connection One equipment and the second equipment, which comprises
First equipment receives the first pending data;
First equipment obtains the first electricity of first equipment and the second electricity of second equipment;
First electricity and second electricity are compared by first equipment, obtain comparison result;
First equipment according to the comparison result from first equipment and second equipment selection target equipment with Handle first pending data.
10. data processing method according to claim 9, which is characterized in that first equipment is relatively tied according to described Fruit from first equipment and second equipment selection target equipment to handle first pending data, comprising:
If the comparison result is that the electricity of first battery is less than the electricity of second battery, first equipment is by institute It states the second electronic equipment and is selected as target device, first pending data is handled by second equipment;Alternatively,
If the comparison result is that the electricity of first battery is equal to the electricity of second battery, first equipment is by institute State processing capacity in the first equipment and second electronic equipment it is strong be selected as target device, it is to be processed to handle described first Data;Alternatively,
If the comparison result is that the electricity of first battery is greater than the electricity of second battery, first equipment is by institute It states the first equipment and is selected as target device, and handle first pending data.
11. a kind of storage medium, is stored thereon with computer program, which is characterized in that real when described program is executed by processor The step of existing claim 9 the method.
CN201811360828.2A 2018-11-15 2018-11-15 Electronic device, data processing method, and storage medium Active CN109542205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811360828.2A CN109542205B (en) 2018-11-15 2018-11-15 Electronic device, data processing method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811360828.2A CN109542205B (en) 2018-11-15 2018-11-15 Electronic device, data processing method, and storage medium

Publications (2)

Publication Number Publication Date
CN109542205A true CN109542205A (en) 2019-03-29
CN109542205B CN109542205B (en) 2023-11-10

Family

ID=65847464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811360828.2A Active CN109542205B (en) 2018-11-15 2018-11-15 Electronic device, data processing method, and storage medium

Country Status (1)

Country Link
CN (1) CN109542205B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365851A (en) * 2019-08-01 2019-10-22 Oppo(重庆)智能科技有限公司 Method of supplying power to and Related product

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1430341A (en) * 2001-12-28 2003-07-16 株式会社东芝 Radio communication device, radio communication method and radio communication system used by it
US6901275B1 (en) * 1999-09-30 2005-05-31 Kabushiki Kaisha Toshiba Communication system, and communication device and communication method for use in the communication system
CN1701570A (en) * 2003-06-02 2005-11-23 松下电器产业株式会社 Device, method, and program for performing master/slave switching process
CN102882565A (en) * 2012-08-31 2013-01-16 珠海市魅族科技有限公司 Data processing and transmitting method and associated equipment
CN102983889A (en) * 2012-11-13 2013-03-20 黑龙江省电力有限公司信息通信分公司 Method of information cooperative processing between smart mobile phone and computer through Bluetooth wireless pairing
CN103744619A (en) * 2013-12-24 2014-04-23 中国科学院深圳先进技术研究院 Method, device and system for improving data processing speed of device
CN104335642A (en) * 2012-05-26 2015-02-04 高通股份有限公司 Smart battery wear leveling for audio devices
CN107071618A (en) * 2017-04-26 2017-08-18 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6901275B1 (en) * 1999-09-30 2005-05-31 Kabushiki Kaisha Toshiba Communication system, and communication device and communication method for use in the communication system
CN1430341A (en) * 2001-12-28 2003-07-16 株式会社东芝 Radio communication device, radio communication method and radio communication system used by it
CN1701570A (en) * 2003-06-02 2005-11-23 松下电器产业株式会社 Device, method, and program for performing master/slave switching process
CN104335642A (en) * 2012-05-26 2015-02-04 高通股份有限公司 Smart battery wear leveling for audio devices
CN102882565A (en) * 2012-08-31 2013-01-16 珠海市魅族科技有限公司 Data processing and transmitting method and associated equipment
CN102983889A (en) * 2012-11-13 2013-03-20 黑龙江省电力有限公司信息通信分公司 Method of information cooperative processing between smart mobile phone and computer through Bluetooth wireless pairing
CN103744619A (en) * 2013-12-24 2014-04-23 中国科学院深圳先进技术研究院 Method, device and system for improving data processing speed of device
CN107071618A (en) * 2017-04-26 2017-08-18 歌尔科技有限公司 A kind of method and apparatus for connecting ears bluetooth earphone

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365851A (en) * 2019-08-01 2019-10-22 Oppo(重庆)智能科技有限公司 Method of supplying power to and Related product

Also Published As

Publication number Publication date
CN109542205B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
CN107710505B (en) Electronic device including antenna
US20230246475A1 (en) Electronic device and method for wired and wireless charging in electronic device
US10707688B2 (en) Method and apparatus for high speed charging using various charging schemes
KR102430757B1 (en) Connector for connecting antenna and electronic device having the same
US9859661B2 (en) Connector of an electronic device
EP3886252B1 (en) Antenna and electronic device comprising same
US10838894B2 (en) Electronic device and method for preventing corrosion to connector
EP3123590B1 (en) Method for charging battery and electronic device
US20170163062A9 (en) Wearable / mountable mobile charging device
CN109347171A (en) Separated electronic equipment, charge control method and storage medium
US10700484B1 (en) Assembly of worldwide AC adapter supporting foldable prongs
KR102513732B1 (en) Electronic apparatus and control method for receiving and transmitting power wirelessly
CN106462187A (en) Detachable electronic device
US11658492B2 (en) Charging cable port detection and current enforcement
CN109542205A (en) Electronic equipment, data processing method and storage medium
US11217950B2 (en) Apparatus and method for performing antenna function by using USB connector
EP3629428B1 (en) Method and apparatus for changing impedance of terminal included in connector
EP3726821A1 (en) Electronic apparatus comprising connector of stacked structure
TWM515129U (en) Intelligent watch having card type expansion module
US10770854B2 (en) High integration assembly process for AC adapter with foldable prongs
CN108475921A (en) The power-supply device and method of supplying power to of electronic equipment, electronic equipment
US12027896B2 (en) Charging cable port detection and current enforcement
CN219535661U (en) Data storage treasured that charges
CN116699425B (en) Battery detection method, electronic device, storage medium and program product
US20230280401A1 (en) Electronic device and method of displaying information of a plurality of batteries using the same

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