CN115633114A - Display method and device of address book letters and terminal equipment - Google Patents
Display method and device of address book letters and terminal equipment Download PDFInfo
- Publication number
- CN115633114A CN115633114A CN202111265579.0A CN202111265579A CN115633114A CN 115633114 A CN115633114 A CN 115633114A CN 202111265579 A CN202111265579 A CN 202111265579A CN 115633114 A CN115633114 A CN 115633114A
- Authority
- CN
- China
- Prior art keywords
- initial
- terminal device
- contact
- character
- letter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000004590 computer program Methods 0.000 claims description 16
- 238000012163 sequencing technique Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 32
- 238000004891 communication Methods 0.000 description 24
- 238000012545 processing Methods 0.000 description 22
- 238000010586 diagram Methods 0.000 description 19
- 238000010295 mobile communication Methods 0.000 description 17
- 238000007726 management method Methods 0.000 description 15
- 230000008569 process Effects 0.000 description 10
- 230000005236 sound signal Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 229920001621 AMOLED Polymers 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000001174 ascending effect Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000004438 eyesight Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000013529 biological neural network Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 239000002096 quantum dot Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
- H04M1/27453—Directories allowing storage of additional subscriber data, e.g. metadata
- H04M1/27457—Management thereof, e.g. manual editing of data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
- H04M1/27467—Methods of retrieving data
- H04M1/27475—Methods of retrieving data using interactive graphical means or pictorial representations
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Library & Information Science (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the application provides a display method and a display device of address book letters and terminal equipment, wherein in the display method of the address book letters, after acquiring contact information, the terminal equipment acquires the initial of the name of a contact, then, if the initial of the address book of the terminal equipment does not comprise the acquired initial, the size of a key hot spot area of the acquired initial is determined according to the sum of the acquired initial and the number of the initial in the address book of the terminal equipment, and finally, according to the size of the key hot spot area, the acquired initial is displayed in a letter display area in a contact interface displayed by the terminal equipment, so that only the initial of the contact stored in the terminal equipment is displayed in the contact interface of the terminal equipment, the number of letters displayed at the edge of the right side of the contact interface is reduced, the arrangement distance of the letters is increased, and the search efficiency is improved.
Description
Technical Field
The embodiment of the application relates to the technical field of intelligent terminals, in particular to a display method and device of address book letters and terminal equipment.
Background
In the related art, a terminal device (for example, a mobile communication device) has a function of "contact", and after a user operates a tag of "contact" in an interface displayed by the mobile communication device, the mobile communication device displays the contact interface, and displays letters from "a to Z" ("#" as a special symbol search) at a right edge of the contact interface as a search mode for quickly screening a target contact.
Because User Interfaces (UI) of mobile communication devices manufactured by different manufacturers are designed differently and the external dimensions of the mobile communication devices are different, the spatial layouts of the letters are different and the sizes of the letters are also different. At the right edge of the contact interface, the letters are arranged from top to bottom according to the sequence of the English letters, which may cause that some users with bigger hands, older ages and/or poorer eyesight may not easily and quickly find the letter to be searched, and the user experience is poorer.
Disclosure of Invention
The embodiment of the application provides a display method and device of address book letters, a server and terminal equipment, and further provides a computer readable storage medium, so that the first letters of contacts stored in the terminal equipment are displayed in a contact interface of the terminal equipment, the number of letters displayed on the right edge of the contact interface is reduced, the arrangement distance of the letters is increased, and the search efficiency is improved.
In a first aspect, an embodiment of the present application provides a method for displaying an address book letter, which is applied to a terminal device. The method may include: the terminal equipment acquires first contact information; the first contact information can be contact information to be added into an address book of the terminal equipment, and the first contact information comprises a first contact name; then, the terminal device acquires the first initial of the first contact name. If the first initial is not included in the existing initials of the address book of the terminal device, the terminal device determines the size of the first key hot spot area of the first initial according to the sum of the first initial and the number of the existing initials in the address book. Next, the terminal device may store the first contact information in an address book of the terminal device, and display the first initial letter in a letter display area in a contact interface displayed by the terminal device according to the size of the first key hot spot area.
Furthermore, the terminal device can acquire second contact information; the second contact information may be another contact information to be added to an address book of the terminal device, where the second contact information includes a second contact name; then, the terminal device acquires the second initial of the second contact name. If the first letter of the address book of the terminal device does not comprise the second first letter, the terminal device determines the size of a second key hot spot area of the second first letter according to the sum of the second first letter and the number of the first letters in the address book; at this time, since the number of the initial letters is increased and the size of the letter display area in the contact interface displayed by the terminal device is fixed, the second key hot spot area is smaller than the first key hot spot area. Then, the terminal device may also store the second contact information in an address book of the terminal device, and display a second initial letter in a letter display area in a contact interface displayed by the terminal device according to the size of the second key hot spot area.
In the above method for displaying letters of an address book, after the terminal device 100 acquires the information of the contact person, the initial of the name of the contact person is acquired, then when the existing initial of the address book of the terminal device 100 does not include the acquired initial, the size of the hot spot area of the key of the acquired initial is determined according to the sum of the acquired initial and the number of the existing initial in the address book of the terminal device 100, and finally the information of the contact person is stored in the address book of the terminal device 100, and the acquired initial is displayed in the letter display area in the contact person interface displayed by the terminal device 100 according to the size of the hot spot area of the key, so that in the contact person interface of the terminal device 100, only the initial of the contact person stored in the terminal device 100 is displayed, the number of letters displayed at the edge of the right side of the contact person interface is reduced, the arrangement distance of the letters is increased, and the search efficiency is improved.
In one possible implementation manner, after the terminal device obtains the first initial of the first contact name, if the first initial is not included in the existing initial of the address book of the terminal device, the first initial and the existing initial in the address book are sorted. Then, according to the sum of the first initial and the number of the existing initials in the address book, determining the size of the first key hot spot area of the first initial, and according to the sorting result, determining the first position of the key hot spot area of the first initial. And finally, displaying the first initial letter in a letter display area in a contact interface displayed by the terminal equipment according to the size and the first position of the first key hot spot area.
In one possible implementation manner, the terminal device may determine the size of the first key hot spot area of the first initial letter according to the following manner: when the sum of the first initial and the number of the existing initial in the address book is N, averagely dividing the letter display area into N areas; the size of one area in the N areas is the size of a hot spot area of the first key; wherein N is a positive integer.
In one possible implementation manner, the terminal device may obtain the first initial of the first contact name in the following manner: firstly, identifying a first character in a first contact name; wherein, the first character comprises Chinese characters, words composed of letters or other characters except the Chinese characters and the words; then, the first character is alphabetized to obtain the letter included by the first character; finally, the first letter is obtained from the letters included in the first letter.
In one possible implementation manner, the terminal device alphabets the first character, and the letters included in the obtained first character may be: when the first character is a Chinese character, obtaining the Chinese pinyin of the Chinese character and obtaining the letters included in the Chinese pinyin; when the first character is a word, obtaining letters included in the word; when the first character is other characters except the Chinese character and the word, replacing each original character in the other characters by a predetermined character; or the other characters are reserved to obtain each original character included in the other characters.
In one possible implementation manner, the step of acquiring, by the terminal device, the first contact information may be: reading first contact information from a user identification module card or a memory of the terminal equipment; or after detecting the operation of scanning the name card icon in the contact interface displayed by the terminal equipment by the user, responding to the operation, and scanning the electronic information code or shooting the name card by a camera of the terminal equipment to acquire first contact information; or after detecting the operation of a user on a newly-built contact icon in the contact interface displayed by the terminal equipment, responding to the operation, displaying the newly-built contact interface to the user, and acquiring first contact information input by the user in the newly-built contact interface.
In a second aspect, an embodiment of the present application provides an apparatus for displaying address book letters, where the apparatus is included in a terminal device, and the apparatus has a function of implementing a behavior of the terminal device in the first aspect and possible implementations of the first aspect. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-described functions. Such as a receiving module or unit, a processing module or unit, a transmitting module or unit, etc.
In a third aspect, an embodiment of the present application provides a terminal device, including: one or more processors; a memory; a plurality of application programs; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the terminal device, cause the terminal device to perform the steps of: acquiring first contact information; the first contact information comprises a first contact name; acquiring a first letter of the name of the first contact person; if the first initial is not included in the existing initials of the address book of the terminal device, determining the size of a first key hot spot area of the first initial according to the sum of the first initial and the number of the existing initials in the address book; storing the first contact information in an address book of the terminal device, and displaying the first initial letter in a letter display area in a contact interface displayed by the terminal device according to the size of the first key hot spot area; acquiring second contact person information; the second contact information comprises a second contact name; acquiring a second initial of the name of the second contact; if the first letter in the address book of the terminal device does not include the second first letter, determining the size of a second key hot spot area of the second first letter according to the sum of the second first letter and the number of the first letters in the address book; wherein the second key hot spot area is smaller than the first key hot spot area; and storing the second contact information in an address book of the terminal device, and displaying the second initial letter in a letter display area in a contact interface displayed by the terminal device according to the size of the second key hot spot area.
In one possible implementation manner, when the instruction is executed by the terminal device, the terminal device is caused to perform the following step after the step of obtaining the first initial of the first contact name is performed: if the first initial is not included in the existing initial of the address book of the terminal device, sorting the first initial and the existing initial in the address book; determining the size of a first key hot spot area of the first initial according to the sum of the first initial and the number of the existing initial in the address book, and determining the first position of the first key hot spot area of the first initial according to the sequencing result; and displaying the first initial letter in a letter display area in a contact interface displayed by the terminal equipment according to the size of the first key hot spot area and the first position.
In one possible implementation manner, when the instruction is executed by the terminal device, the step of causing the terminal device to determine the size of the first key hot spot area of the first initial letter includes: when the sum of the first letter and the number of the existing first letters in the address book is N, averagely dividing the letter display area into N areas; the size of one area in the N areas is the size of the hot spot area of the first key; wherein N is a positive integer.
In one possible implementation manner, when the instruction is executed by the terminal device, the step of causing the terminal device to execute obtaining the first initial of the first contact name includes: identifying a first character in the first contact name; wherein, the first character comprises Chinese characters, words composed of letters or other characters except the Chinese characters and the words; the first character is alphabetized to obtain the letter included by the first character; the first letter is obtained from the letters comprised by the first letter.
In one possible implementation manner, when the instruction is executed by the terminal device, the terminal device is caused to perform the step of performing the alphabets on the first character, and the step of obtaining the letters included in the first character includes: when the first character is a Chinese character, obtaining the Chinese pinyin of the Chinese character and obtaining the letters included in the Chinese pinyin; when the first character is a word, obtaining letters included in the word; when the first character is other characters except the Chinese character and the word, replacing each original character in the other characters by a preset character; or the other characters are reserved to obtain each original character included in the other characters.
In one possible implementation manner, when the instruction is executed by the terminal device, the step of causing the terminal device to execute obtaining the first contact information includes: reading first contact information from a user identification module card or a memory of the terminal equipment; or after detecting the operation of scanning the name card icon in the contact person interface displayed by the terminal equipment by the user, responding to the operation, and scanning the electronic information code or shooting the name card by the camera of the terminal equipment to acquire first contact person information; or after detecting the operation of a user on a new contact icon in the contact interface displayed by the terminal equipment, responding to the operation, displaying the new contact interface to the user, and acquiring first contact information input by the user in the new contact interface.
It should be understood that the second aspect and the third aspect of the embodiment of the present application are consistent with the technical solution of the first aspect of the embodiment of the present application, and similar beneficial effects are obtained in each aspect and the corresponding possible implementation manner, and are not described again.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the method provided in the first aspect.
In a fifth aspect, the present application provides a computer program, which is used to execute the method provided in the first aspect when the computer program is executed by a computer.
In a possible design, the program of the fifth aspect may be stored in whole or in part on a storage medium packaged with the processor, or in part or in whole on a memory not packaged with the processor.
Drawings
FIG. 1 is a schematic diagram of a contact interface in the prior art;
FIG. 2 is a diagram illustrating a user clicking on a right side edge letter of a contact interface in the prior art;
fig. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 4 (a) is a block diagram of a software system structure of a terminal device 100 according to an embodiment of the present application;
fig. 4 (b) is a schematic diagram of an interaction process in the terminal device 100 system according to another embodiment of the present application;
fig. 5 is a flowchart of a method for displaying address book letters according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a contact interface in one embodiment of the present application;
fig. 7 is a flowchart of a method for displaying address book letters according to another embodiment of the present application;
FIG. 8 is a schematic diagram of a contact interface in another embodiment of the present application;
fig. 9 is a flowchart of a method for displaying address book letters according to yet another embodiment of the present application;
fig. 10 is a flowchart of a method for displaying address book letters according to yet another embodiment of the present application;
FIG. 11 is a schematic representation of identifying contact names provided in one embodiment of the present application;
fig. 12 is a schematic structural diagram of a terminal device according to another embodiment of the present application.
Detailed Description
The terminology used in the description of the embodiments section of the present application is for the purpose of describing particular embodiments of the present application only and is not intended to be limiting of the present application.
In the prior art, letters from "a to Z" ("#" is searched as a special symbol) appear on the right edge of a contact interface of a terminal device as a search mode for quickly screening a target contact, as shown in fig. 1, where fig. 1 is a schematic diagram of a contact interface in the prior art.
Referring to fig. 1, at the right edge of the contact interface of the terminal device, 26 english letters are arranged in order from "a to Z" from top to bottom.
FIG. 2 is a diagram illustrating a user clicking a letter on the right edge of a contact interface in the prior art, and it can be seen from FIG. 2 that the display area for multiple letters can be covered when the user's finger clicks on the right edge of the contact interface, such that the clicking accuracy is significantly degraded when the user's finger is large and/or is walking; moreover, for users with poor eyesight and/or older ages, the user needs to find the letters that the user wants to search in the letters, so that the searching efficiency is low, and the using experience is poor.
Based on the above problems, embodiments of the present application provide a method for displaying letters in an address book, which may automatically form corresponding arrangements according to initials of the surnames of contacts, display the initials of the contacts stored in a terminal device in a contact interface of the terminal device, reduce the number of letters displayed at the right edge of the contact interface, increase the arrangement distance of the letters, and improve the search efficiency.
The display method of the address book letters provided by the embodiment of the application can be applied to terminal equipment, wherein the terminal equipment can be smart phones, tablet computers, wearable equipment, vehicle-mounted equipment, augmented Reality (AR)/Virtual Reality (VR) equipment, notebook computers, ultra-mobile personal computers (UMPCs), netbooks or Personal Digital Assistants (PDAs) and other equipment; the embodiment of the present application does not set any limit to the specific type of the terminal device.
For example, fig. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure, and as shown in fig. 3, the terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation to the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution.
Specifically, the processor 110 may obtain contact information, where the contact information includes a contact name; then, the processor 110 may acquire the initial of the contact name, if the acquired initial is not included in the existing initial of the address book of the terminal device, may determine a size of a key hot spot area of the acquired initial according to the sum of the acquired initial and the number of the existing initial in the address book of the terminal device 100, and display the acquired initial in a letter display area in the contact interface displayed on the display screen 194 according to the size of the key hot spot area.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bidirectional synchronous serial bus including a serial data line (SDA) and a serial clock line (DCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, a charger, a flash, a camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the terminal device 100.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture function of terminal device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the terminal device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the terminal device 100, and may also be used to transmit data between the terminal device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is only an exemplary illustration, and does not constitute a limitation on the structure of the terminal device 100. In other embodiments of the present application, the terminal device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the terminal device 100. The charging management module 140 may also supply power to the terminal device 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the terminal device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in terminal device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including wireless communication of 2G/3G/4G/5G, etc. applied to the terminal device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the terminal device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, the antenna 1 of the terminal device 100 is coupled to the mobile communication module 150 and the antenna 2 is coupled to the wireless communication module 160 so that the terminal device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou satellite navigation system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The terminal device 100 implements a display function by the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the terminal device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The terminal device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV and other formats. In some embodiments, the terminal device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform fourier transform or the like on the frequency point energy.
Video codecs are used to compress or decompress digital video. The terminal device 100 may support one or more video codecs. In this way, the terminal device 100 can play or record video in a plurality of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can implement applications such as intelligent recognition of the terminal device 100, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the terminal device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in the external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, a phonebook, etc.) created during use of the terminal device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 110 executes various functional applications of the terminal device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The terminal device 100 may implement an audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The terminal device 100 can listen to music through the speaker 170A, or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the terminal device 100 answers a call or voice information, it is possible to answer a voice by bringing the receiver 170B close to the human ear.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking near the microphone 170C through the mouth. The terminal device 100 may be provided with at least one microphone 170C. In other embodiments, the terminal device 100 may be provided with two microphones 170C, which may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association) standard interface of the USA.
The touch sensor 180K is also called a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided via the display screen 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the terminal device 100, different from the position of the display screen 194.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The terminal device 100 may receive a key input, and generate a key signal input related to user setting and function control of the terminal device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration prompts as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the terminal device 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The terminal device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the terminal device 100 employs eSIM, namely: an embedded SIM card. The eSIM card may be embedded in the terminal device 100 and cannot be separated from the terminal device 100.
The software system of the terminal device 100 may adopt a hierarchical architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of the terminal device 100.
Fig. 4 (a) is a block diagram of a software structure of the terminal device 100 according to an embodiment of the present application, and as shown in fig. 4 (a), the block diagram of the software structure of the terminal device 100 may include:
a hardware layer 410, a Hardware Abstraction Layer (HAL) 420, a system runtime 430, and an application layer 440.
The hardware layer 410 may obtain contact information from a Subscriber Identity Module (SIM) card 411 or a memory 412; the camera driver 421 in the HAL420 may drive the camera 442 to acquire contact information using a photographing or scanning function of the camera 442; the application layer 440 may enable retrieval of contact information from system applications 441 (e.g., a contacts application).
Then, the database 431 in the system runtime 430 may obtain the contact information, store the contact name in the contact information, identify the first chinese character or the first character of the contact name, further alphabetize the first chinese character or the first character, and extract the first letter from the letters included in the first chinese character or the first character to generate a data set.
The database 431 then passes the data set to the UI layout module 432, the UI layout module 432 ranks the initials in the data set, determines the size of the key hot spot area for each initial, and displays the initials in the letter display area in the UI interface according to the size of the key hot spot area. In specific implementation, the system runtime 430 includes functional modules related to graphic display, such as: opengles and/or surfemanager, etc., may be implemented to display the above initials on the UI interface.
Fig. 4 (b) is a schematic diagram of an interaction process in the terminal device 100 system according to another embodiment of the present application, and as shown in fig. 4 (b), the interaction process may include:
in step 401, the database 431 obtains contact information. The contact information may be obtained from the SIM card 411 or the memory 412; alternatively, the contact information may be obtained through a photographing or scanning function of the camera 442; alternatively, the contact information may be obtained from a system application 441 (e.g., a contacts application).
Step 402, the database 431 stores the contact names in the contact information, identifies the first Chinese character or the first character of the contact names, further performs the alphabets on the first Chinese character or the first character, and extracts the first character from the letters included in the first Chinese character or the first character to generate a data set.
In step 403, the database 431 passes the data set to the UI layout module 432.
In step 404, the UI layout module 432 ranks the initials in the data set, determines the size of the key hot spot area for each initial, and displays the initials in the letter display area in the UI interface according to the size of the key hot spot area.
For convenience of understanding, in the following embodiments of the present application, a terminal device having a structure shown in fig. 3 is taken as an example, and a method for displaying an address book letter provided in the embodiments of the present application is specifically described with reference to the accompanying drawings.
The display method of the address book letters provided by the embodiment of the application can count the initials of the surnames of the contact persons, display the initials of the surnames of the contact persons stored in the terminal device 100 in the hot spot area by a gradual increase method, and perform self-adaptive distribution according to the position of the UI design, thereby improving the search efficiency. The hot spot area refers to an alphabet display area in the contact interface of the terminal device 100, and the alphabet display area can respond to the operation of the user after being operated by the user.
Fig. 5 is a flowchart of a method for displaying address book letters according to an embodiment of the present application, and as shown in fig. 5, the method for displaying address book letters may include:
Specifically, the terminal device 100 may acquire the contact information by:
reading contact information from a subscriber identity module card or a memory of the terminal device 100; or,
after detecting an operation of a user for scanning a business card icon in a contact interface displayed by the terminal device 100, responding to the operation, and scanning an electronic information code or shooting a business card through a camera of the terminal device 100 to acquire contact information; the electronic information code may be a two-dimensional code or a barcode, which is not limited in this embodiment; or,
after detecting an operation of a user on a new contact icon in a contact interface displayed by the terminal device 100, in response to the operation, displaying the new contact interface to the user, and acquiring contact information input by the user in the new contact interface.
In addition, in this embodiment, the manner of acquiring the contact information is not limited to this, and may also be acquired by other manners, where the other manners may include:
1) The method comprises the steps of obtaining the data from other equipment in a transmission mode through Bluetooth, wiFi and/or sharing and the like;
2) Obtaining through inter-device touch; the inter-device touch may include an edge touch, an inter-screen touch, and/or a rear shell touch.
The embodiment does not limit the manner of acquiring the contact information.
In a specific implementation, the terminal device 100 may perform an operation of acquiring the contact information through the processor 110.
In step 503, if the obtained initial is not included in the existing initials of the address book of the terminal device 100, the size of the key hot spot area of the obtained initial is determined according to the sum of the obtained initial and the number of the existing initials in the address book.
Specifically, since the size of the letter display area in the contact interface displayed by the terminal device 100 is fixed, the size of the key hot spot area of the acquired first letter decreases as the number of letters increases.
Specifically, fig. 6 is a schematic diagram of a contact interface in an embodiment of the present application, as shown in fig. 6, if only one contact is stored in the terminal device 100, an alphabet display area of the contact interface may be as shown in an interface 61 in fig. 6; if two contacts are stored in the terminal device 100, the letter display area of the contact interface may be as shown in interface 62 in FIG. 6; if multiple contacts are stored in terminal device 100, the alphabetical display area of the contact interface may be as shown in interface 63 in FIG. 6. As can be seen from the interface shown in fig. 6, the size of the hot spot area of the key for each initial decreases as the number of initials increases.
Of course, the illustration in fig. 6 is only an example of a right letter list of a contact interface, and does not limit the embodiments of the present application.
In the above method for displaying letters of an address book, after the terminal device 100 acquires the contact information, the initial of the name of the contact is acquired, then when the initial of the address book of the terminal device 100 does not include the acquired initial, the size of the key hot spot area of the acquired initial is determined according to the sum of the acquired initial and the number of the initial existing in the address book of the terminal device 100, and finally the contact information is stored in the address book of the terminal device 100, and the acquired initial is displayed in the letter display area in the contact interface displayed by the terminal device 100 according to the size of the key hot spot area, so that only the initial of the contact stored in the terminal device 100 is displayed in the contact interface of the terminal device 100, the number of letters displayed on the right edge of the contact interface is reduced, the arrangement distance of the letters is increased, and the search efficiency is improved.
Fig. 7 is a flowchart of a method for displaying address book letters according to another embodiment of the present application, as shown in fig. 7, in the embodiment shown in fig. 5 of the present application, after step 502, the method may further include:
in step 701, if the initial letter obtained as described above is not included in the existing initial letter of the address book of the terminal device 100, the terminal device 100 sorts the obtained initial letter with the existing initial letter in the address book of the terminal device 100.
Specifically, the obtained initial and the initial existing in the address book of the terminal device 100 may be sorted in ascending order of a to Z/a to Z, or sorted in descending order of Z to a/Z to a, and the sorting manner is not limited in this embodiment.
In step 703, the obtained initial is displayed in the letter display area in the contact interface displayed by the terminal device 100 according to the size and the position of the hot spot area of the key.
Fig. 8 is a schematic diagram of a contact interface in another embodiment of the application, and as can be seen from fig. 8, in the letter display area of the contact interface shown in fig. 8, the initials are sorted in the ascending order of a to Z. If only one contact is stored in the terminal device 100, the letter display area of the contact interface may be as shown in interface 81 in fig. 8; if two contacts are stored in the terminal device 100, the letter display area of the contact interface may be as shown in interface 82 in fig. 8; if 4 contacts are stored in the terminal device 100, the letter display area of the contact interface may be as shown in interface 83 in fig. 8; if n contacts are stored in the terminal device 100, the letter display area of the contact interface may be as shown in interface 84 in fig. 8, where n is a positive integer.
In this embodiment, the size of the obtained key hot spot area of the first letter is determined according to the number of the first letters, the position of the obtained key hot spot area of the first letter is determined according to the sorting result of the first letters, and then the obtained first letter is displayed in the letter display area in the contact interface according to the size and the position of the key hot spot area, so that the letter display area in the contact interface can be laid out according to the contact stored in the terminal device 100, the area of the letter key hot spot area is enlarged, the search accuracy is improved, the time for a user to search for a letter can be shortened, and the efficiency is improved; and the layout picture of the letter display area is more concise, and redundant information is reduced.
Fig. 9 is a flowchart of a method for displaying address book letters according to yet another embodiment of the present application, and as shown in fig. 9, in the embodiment shown in fig. 5 of the present application, step 503 may include:
For example, assuming that the total number of initials is 2, i.e., N is 2, the letter display area in the contact interface displayed by the terminal device 100 may be halved to obtain two areas of the same size, each of which is a key hot spot area of one initial.
Fig. 10 is a flowchart of a method for displaying address book letters according to yet another embodiment of the present application, as shown in fig. 10, in the embodiment shown in fig. 5 of the present application, step 502 may include:
Specifically, fig. 11 is a schematic diagram of identifying a contact name provided in an embodiment of the present application, as shown in an interface 1101 and an interface 1102 in fig. 11, when the contact name is a chinese name, for example: when Zhao xx, the first character is the Chinese character Zhao; when the contact name is an english name, for example: "Jack", the first character is the word "Jack" made up of characters; and when the contact name is other characters besides the Chinese characters and words, for example: when "@ @ @ is used, the first character is" @ @ @ but other characters than the chinese character and word.
It should be noted that when the contact name is a character other than a chinese character and a word, the "#" may be used as the first character in a unified manner, or an actual character may also be used as the first character, which is not limited in this embodiment.
Specifically, the first character is alphabetized, and the letters included in the first character may be: when the first character is a Chinese character, obtaining the Chinese pinyin of the Chinese character and obtaining the letters included in the Chinese pinyin; when the first character is a word, obtaining letters included in the word; when the first character is other characters except the Chinese character and the word, replacing each original character in the other characters by a predetermined character; or the other characters are reserved to obtain each original character included in the other characters. The predetermined character may be set by itself in specific implementation, and the predetermined character is not limited in this embodiment, for example, the predetermined character may be "#".
Specifically, referring to interface 1103 in fig. 11, if the first character is a chinese character, for example: zhao, obtaining the Chinese pinyin of the Chinese characters, and obtaining the letters 'ZHAO' included in the Chinese pinyin; if the first character is a word, for example: "Jack", the character "Jack" included in the above word is obtained; if the first character is a character other than a chinese character and a word, for example: "@", the above-mentioned other characters may be retained, each original character "@" included in the above-mentioned other characters is obtained, or "@" is replaced with "# #".
In step 1003, the first letter is obtained from the letters included in the first letter.
Specifically, after the letters included in the first character are obtained, the first letter, that is, the first letter, may be obtained from the letters. Referring to interface 1104 in FIG. 11, interface 1104 shows the first letter obtained from the letter included in the first letter displayed on interface 1103.
It is to be understood that some or all of the steps or operations in the above-described embodiments are merely examples, and other operations or variations of various operations may be performed by the embodiments of the present application. Further, the various steps may be performed in a different order presented in the above-described embodiments, and it is possible that not all of the operations in the above-described embodiments are performed.
It will be appreciated that the terminal device, in order to implement the above-described functions, includes corresponding hardware and/or software modules for performing the respective functions. The exemplary algorithm steps described in connection with the embodiments disclosed herein may be embodied in hardware or in a combination of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, with the embodiment described in connection with the particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In this embodiment, the terminal device may be divided into functional modules according to the method embodiments, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one module. The integrated module may be implemented in the form of hardware. It should be noted that the division of the modules in this embodiment is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 12 is a schematic structural diagram of a terminal device according to another embodiment of the present application, where each functional module is divided by using corresponding functions, and fig. 12 shows a schematic possible composition diagram of the terminal device 1200 according to the foregoing embodiment, as shown in fig. 12, the terminal device 1200 may include: a receiving unit 1201, a processing unit 1202, and a transmitting unit 1203;
the receiving unit 1201 may be configured to support the terminal apparatus 1200 to perform step 501 and/or other processes in the technical solutions described in the embodiments of the present application;
the processing unit 1202 may be configured to support the terminal device 1200 to perform step 501 to step 504, step 701 to step 703, step 901, step 1001 to step 1003, and the like, and/or other processes used in the technical solutions described in the embodiments of the present application.
It should be noted that all relevant contents of each step related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The terminal device 1200 provided in this embodiment is configured to execute the above method for displaying the address book letters, and therefore the same effect as the above method can be achieved.
It should be understood that the terminal device 1200 may correspond to the terminal device 100 shown in fig. 3. The functions of the receiving unit 1201 and the transmitting unit 1203 may be implemented by the processor 110, the antenna 1 and the mobile communication module 150 in the terminal device 100 shown in fig. 3, and/or by the processor 110, the antenna 2 and the wireless communication module 160; the functions of the processing unit 1202 may be implemented by the processor 110 in the terminal device 100 shown in fig. 3.
In case of employing an integrated unit, the terminal device 1200 may comprise a processing module, a storage module and a communication module.
The processing module may be configured to control and manage the actions of the terminal device 1200, and for example, may be configured to support the terminal device 1200 to execute the steps executed by the receiving unit 1201, the processing unit 1202, and the sending unit 1203. The memory module may be used to support the terminal device 1200 in storing program codes and data, and the like. A communication module, which may be used to support communication between terminal device 1200 and other devices.
Among other things, a processing module may be a processor or controller that may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the present disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip and/or a Wi-Fi chip, and the like, which interact with other electronic devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the terminal device 1200 according to this embodiment may be a device having the structure shown in fig. 3.
Embodiments of the present application further provide a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is enabled to execute the method provided by the embodiments shown in fig. 5 to 11 of the present application.
Embodiments of the present application further provide a computer program product, which includes a computer program, when the computer program runs on a computer, causing the computer to execute the method provided by the embodiments shown in fig. 5 to 11 of the present application.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, and means that there may be three relationships, for example, a and/or B, and may mean that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and the like, refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, wherein a, b and c can be single or multiple.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, any function, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present disclosure, and all of them should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.
Claims (14)
1. A display method of address book letters is applied to terminal equipment and is characterized by comprising the following steps:
acquiring first contact person information; the first contact information comprises a first contact name;
acquiring a first initial of the first contact name;
if the first initial is not included in the existing initials of the address book of the terminal device, determining the size of a first key hot spot area of the first initial according to the sum of the first initial and the number of the existing initials in the address book;
storing the first contact information in an address book of the terminal device, and displaying the first initial letter in a letter display area in a contact interface displayed by the terminal device according to the size of the first key hot spot area;
acquiring second contact person information; wherein the second contact information comprises a second contact name;
acquiring a second initial of the name of the second contact;
if the first letter in the address book of the terminal device does not comprise the second first letter, determining the size of a second key hot spot area of the second first letter according to the sum of the second first letter and the number of the first letters in the address book; wherein the second key hot spot area is smaller than the first key hot spot area;
and storing the second contact information in an address book of the terminal equipment, and displaying the second initial letter in a letter display area in a contact interface displayed by the terminal equipment according to the size of the second key hot spot area.
2. The method of claim 1, wherein after obtaining the first initial of the first contact name, the method further comprises:
if the first initial is not included in the existing initial of the address book of the terminal equipment, sequencing the first initial and the existing initial in the address book;
determining the size of a first key hot spot area of the first initial according to the sum of the first initial and the number of the existing initial in the address book, and determining the first position of the first key hot spot area according to the sorting result;
and displaying the first initial letter in a letter display area in a contact interface displayed by the terminal equipment according to the size of the first key hot spot area and the first position.
3. The method according to claim 1 or 2, wherein said determining the size of the first key hot spot area of the first initial comprises:
when the sum of the first initial and the number of the existing initial in the address book is N, averagely dividing the letter display area into N areas; the size of one area in the N areas is the size of the hot spot area of the first key; wherein N is a positive integer.
4. The method of claim 1, wherein the obtaining the first initial of the first contact name comprises:
identifying a first character in the first contact name; wherein the first character comprises a Chinese character, a word composed of letters or other characters except the Chinese character and the word;
the first character is alphabetized to obtain the letter included by the first character;
the first letter is obtained from the letters comprised by said first character.
5. The method of claim 4, wherein the alphamerizing the first character to obtain the letter comprised by the first character comprises:
when the first character is a Chinese character, obtaining the Chinese pinyin of the Chinese character and obtaining the letters included in the Chinese pinyin;
when the first character is a word, obtaining letters included in the word;
when the first character is other characters except the Chinese character and the word, replacing each original character in the other characters by a predetermined character; or reserving the other characters to obtain each original character included in the other characters.
6. The method of claim 1, wherein the obtaining the first contact information comprises:
reading first contact information from a user identification module card or a memory of the terminal equipment; or,
after detecting the operation of a user on scanning a name card icon in a contact person interface displayed by the terminal equipment, responding to the operation, and scanning an electronic information code or shooting a name card through a camera of the terminal equipment to acquire first contact person information; or,
after the operation of a user on a new contact icon in a contact interface displayed by the terminal equipment is detected, responding to the operation, displaying the new contact interface to the user, and acquiring first contact information input by the user in the new contact interface.
7. A device for displaying letters of an address book, characterized by being adapted to perform the method of any of claims 1 to 6.
8. A terminal device, comprising:
one or more processors; a memory; a plurality of application programs; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the terminal device, cause the terminal device to perform the steps of:
acquiring first contact information; the first contact information comprises a first contact name;
acquiring a first initial of the first contact name;
if the first initial is not included in the existing initials of the address book of the terminal device, determining the size of a first key hot spot area of the first initial according to the sum of the first initial and the number of the existing initials in the address book;
storing the first contact information in an address book of the terminal device, and displaying the first initial letter in a letter display area in a contact interface displayed by the terminal device according to the size of the first key hot spot area;
acquiring second contact information; wherein the second contact information comprises a second contact name;
acquiring a second initial of the name of the second contact;
if the second initial is not included in the existing initials of the address book of the terminal device, determining the size of a second key hot spot area of the second initial according to the sum of the second initial and the number of the existing initials in the address book; wherein the second key hot spot area is smaller than the first key hot spot area;
and storing the second contact information in an address book of the terminal device, and displaying the second initial letter in a letter display area in a contact interface displayed by the terminal device according to the size of the second key hot spot area.
9. The terminal device of claim 8, wherein the instructions, when executed by the terminal device, cause the terminal device to perform the following steps after the step of obtaining the first initial of the first contact name:
if the first letter is not included in the existing first letters of the address book of the terminal equipment, sequencing the first letter and the existing first letters in the address book;
determining the size of a first key hot spot area of the first initial according to the sum of the first initial and the number of the existing initial in the address book, and determining the first position of the first key hot spot area according to the sorting result;
and displaying the first initial in an alphabet display area in a contact interface displayed by the terminal equipment according to the size of the first key hot spot area and the first position.
10. A terminal device according to claim 8 or 9, characterized in that the instructions, when executed by the terminal device, cause the terminal device to perform the step of determining the size of the first key hot spot area of the first initial letter comprises:
when the sum of the first initial and the number of the existing initial in the address book is N, averagely dividing the letter display area into N areas; the size of one area in the N areas is the size of the hot spot area of the first key; wherein N is a positive integer.
11. The terminal device of claim 8, wherein the instructions, when executed by the terminal device, cause the terminal device to perform the step of obtaining the first initial of the first contact name comprises:
identifying a first character in the first contact name; wherein the first character comprises a Chinese character, a word composed of letters or other characters except the Chinese character and the word;
the first character is alphabetized to obtain the letter included by the first character;
the first letter is obtained from the letters comprised by said first character.
12. The terminal device of claim 11, wherein the instructions, when executed by the terminal device, cause the terminal device to perform the step of alphabetizing the first character, the step of obtaining the letters included in the first character comprising:
when the first character is a Chinese character, obtaining the Chinese pinyin of the Chinese character and obtaining the letters included in the Chinese pinyin;
when the first character is a word, obtaining letters included in the word;
when the first character is other characters except the Chinese character and the word, replacing each original character in the other characters by a predetermined character; or reserving the other characters to obtain each original character included in the other characters.
13. The terminal device of claim 8, wherein the instructions, when executed by the terminal device, cause the terminal device to perform the step of obtaining first contact information comprises:
reading first contact information from a user identification module card or a memory of the terminal equipment; or,
after detecting the operation of scanning a name card icon in a contact person interface displayed by the terminal equipment by a user, responding to the operation, and scanning an electronic information code or shooting a name card through a camera of the terminal equipment to acquire first contact person information; or,
after the operation of a user on a new contact icon in a contact interface displayed by the terminal device is detected, responding to the operation, displaying the new contact interface to the user, and acquiring first contact information input by the user in the new contact interface.
14. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the method according to any one of claims 1 to 6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111265579.0A CN115633114A (en) | 2021-10-28 | 2021-10-28 | Display method and device of address book letters and terminal equipment |
PCT/CN2022/113250 WO2023071441A1 (en) | 2021-10-28 | 2022-08-18 | Method and apparatus for displaying letters in contact list, and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111265579.0A CN115633114A (en) | 2021-10-28 | 2021-10-28 | Display method and device of address book letters and terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115633114A true CN115633114A (en) | 2023-01-20 |
Family
ID=84902994
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111265579.0A Pending CN115633114A (en) | 2021-10-28 | 2021-10-28 | Display method and device of address book letters and terminal equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115633114A (en) |
WO (1) | WO2023071441A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117135253B (en) * | 2023-07-12 | 2024-08-27 | 荣耀终端有限公司 | Contact searching method, terminal equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103248739A (en) * | 2012-02-14 | 2013-08-14 | 联想(北京)有限公司 | Contact list navigation display method and device and mobile communication equipment |
CN104050184A (en) * | 2013-03-13 | 2014-09-17 | 阿里巴巴集团控股有限公司 | Method and device for displaying page content |
CN104375751A (en) * | 2014-12-11 | 2015-02-25 | 北京奇虎科技有限公司 | Message content display method and device |
CN108737618A (en) * | 2018-05-03 | 2018-11-02 | Oppo广东移动通信有限公司 | Information processing method and device, electronic equipment, computer readable storage medium |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103106204B (en) * | 2011-11-10 | 2016-05-04 | 腾讯科技(深圳)有限公司 | In a kind of address list, search method and the subscriber equipment of target communication people entry |
CN105577894A (en) * | 2014-10-13 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Information display method, information display terminal and electronic equipment |
CN104735243B (en) * | 2015-02-27 | 2017-08-01 | 小米科技有限责任公司 | Contact list displaying method and device |
CN106961507A (en) * | 2016-01-11 | 2017-07-18 | 中兴通讯股份有限公司 | A kind of display methods of contact person record, device and terminal |
CN105812531B (en) * | 2016-03-31 | 2019-02-01 | 宇龙计算机通信科技(深圳)有限公司 | A kind of querying method of name of contact person, device and terminal |
US11580608B2 (en) * | 2016-06-12 | 2023-02-14 | Apple Inc. | Managing contact information for communication applications |
CN106383636A (en) * | 2016-09-23 | 2017-02-08 | 珠海市魅族科技有限公司 | Index information display method and apparatus |
CN106713585B (en) * | 2016-12-08 | 2019-08-02 | 宇龙计算机通信科技(深圳)有限公司 | A kind of address list display method and device |
-
2021
- 2021-10-28 CN CN202111265579.0A patent/CN115633114A/en active Pending
-
2022
- 2022-08-18 WO PCT/CN2022/113250 patent/WO2023071441A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103248739A (en) * | 2012-02-14 | 2013-08-14 | 联想(北京)有限公司 | Contact list navigation display method and device and mobile communication equipment |
CN104050184A (en) * | 2013-03-13 | 2014-09-17 | 阿里巴巴集团控股有限公司 | Method and device for displaying page content |
CN104375751A (en) * | 2014-12-11 | 2015-02-25 | 北京奇虎科技有限公司 | Message content display method and device |
CN108737618A (en) * | 2018-05-03 | 2018-11-02 | Oppo广东移动通信有限公司 | Information processing method and device, electronic equipment, computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2023071441A1 (en) | 2023-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11722449B2 (en) | Notification message preview method and electronic device | |
CN110543287B (en) | Screen display method and electronic equipment | |
CN110798552A (en) | Volume adjusting method and electronic equipment | |
CN111742539B (en) | Voice control command generation method and terminal | |
CN111357014A (en) | AI model development method and device | |
CN112671976A (en) | Control method of electronic equipment and electronic equipment | |
CN111881315A (en) | Image information input method, electronic device, and computer-readable storage medium | |
CN113641271A (en) | Application window management method, terminal device and computer readable storage medium | |
CN113472861B (en) | File transmission method and electronic equipment | |
CN115589051A (en) | Charging method and terminal equipment | |
CN114095602B (en) | Index display method, electronic device and computer readable storage medium | |
WO2023071441A1 (en) | Method and apparatus for displaying letters in contact list, and terminal device | |
CN115543145A (en) | Folder management method and device | |
CN114971107A (en) | Privacy risk feedback method and device and first terminal equipment | |
CN113407300B (en) | Application false killing evaluation method and related equipment | |
CN113380240B (en) | Voice interaction method and electronic equipment | |
CN114690924A (en) | False touch prevention locking method, terminal device and computer readable storage medium | |
CN117130515B (en) | Method and device for creating shortcut entry | |
CN115695636B (en) | Intelligent voice interaction method and electronic equipment | |
CN113986406B (en) | Method, device, electronic equipment and storage medium for generating doodle pattern | |
US20240176480A1 (en) | Screenshot method, electronic device, and storage medium | |
CN118963533A (en) | Information interaction method and head display device | |
CN117666810A (en) | Input method and electronic equipment | |
CN115129208A (en) | Interaction method, electronic device and storage medium | |
CN115883710A (en) | Identification method and device for incoming call number |
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 |