Method for displaying social information and electronic equipment

By obtaining and displaying media social information of instant messaging applications in the address book application and generating information identification code, the cumbersome operation problems of users when adding multiple social accounts are solved, and the convenience of rapid addition is achieved.

CN120390000APending Publication Date: 2025-07-29HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410081377.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-19
Publication Date
2025-07-29

AI Technical Summary

Technical Problem

In the prior art, users need to frequently switch instant messaging applications when adding multiple social accounts, resulting in cumbersome operations and inefficient addition.

Method used

By providing an option in the address book application of electronic devices, obtaining and displaying media social information for instant messaging applications and generating information identification codes, it supports the rapid addition of other devices or users' social accounts.

Benefits of technology

It realizes the rapid acquisition and addition of multiple social accounts without switching instant messaging applications, improving operational efficiency and convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120390000A_ABST
    Figure CN120390000A_ABST
Patent Text Reader

Abstract

The invention provides a method for displaying social information and electronic equipment. An instant messaging application is installed in the electronic equipment. The electronic equipment displays a first interface of a first application, the first interface comprises a first option, and the first application is used for managing one or more contacts. The first option is a function which is provided by the first application and is related to the instant messaging application, and the electronic equipment can add the media social information of the plurality of instant messaging applications of the first user into the first option. The electronic equipment can provide the media social information of the plurality of instant messaging applications of the first user for the second electronic equipment and / or the second user through the first option of the first application, so that the second electronic equipment and / or the second user can add the first user in the corresponding instant messaging application program, and the operation convenience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technologies, and in particular, to a method for displaying social information and an electronic device. Background Art

[0002] With the popularization of electronic devices (such as mobile phones) and the development of communication technologies, various social application programs have emerged. While users have more and more social accounts, the social interaction methods have also changed. In addition to the traditional social interaction method of adding mobile phone numbers, adding social accounts corresponding to social application programs has also become an increasingly important social interaction method.

[0003] Currently, if user A wants to add user B's social account, first the electronic device responds to the user operation on the instant messaging application program corresponding to the social account, and then searches for and adds user B's social account in the instant messaging application program. When user B has multiple social accounts, it is necessary to switch to the instant messaging application programs corresponding to different social accounts, resulting in cumbersome operations and low addition efficiency. Summary of the Invention

[0004] A method for displaying social information and an electronic device provided in an embodiment of this application can enable a user to quickly and conveniently obtain media social information corresponding to different instant messaging applications, and improve the efficiency of the user to obtain information.

[0005] In a first aspect, this application provides a method for displaying social information, which is applied to a first electronic device. The first electronic device is installed with an instant messaging application. The method includes:

[0006] Display a first interface of a first application. The first interface includes a first option. The first application is used to manage one or more contacts. The first option is used to provide functions related to the instant messaging application of a first user. The first user is one of the one or more contacts;

[0007] In response to a user operation on the first option, display a first page. The first page includes a first control;

[0008] In response to a user operation on the first control, obtain media social information corresponding to the instant messaging application of the first user;

[0009] Display a second interface corresponding to the first option. The second interface displays a first information recognition code carrying the media social information of the first user. The first information recognition code is used to provide the media social information of the first user to a second electronic device and / or a second user.

[0010] In the above method, the first application is the system application of the first electronic device, and the instant messaging application is a third-party application of the first electronic device, which can be used to provide a platform for communication and interaction. When the first user has multiple instant messaging applications, that is, when using the media social information (including user names and user accounts) corresponding to multiple instant messaging applications, the social information corresponding to the first user's instant messaging application can be obtained through the first option provided by the first application. Therefore, a first information identification code carrying the media social information of the first user can be generated through the first option provided by the first application. In this way, the media social information corresponding to the multiple instant messaging applications owned by the first user can be displayed in the first application, facilitating other users or other devices to add the accounts of the first user in different instant messaging applications. This avoids switching between instant messaging applications back and forth and improves the addition efficiency.

[0011] In a possible implementation manner, the second electronic device installs the instant messaging application, and the first information identification code is used to provide information for the second electronic device to display a third interface, and the third interface is the addition page of the first user in the instant messaging application.

[0012] In the above method, the first information identification code can be displayed in the first option of the first application. Therefore, the second electronic device can add the first user in the corresponding instant messaging application through the first information identification code provided by the first application. When the first user has a large number of instant messaging applications, fast addition can be achieved through the information identification code provided by the first option of the first application.

[0013] In a possible implementation manner, the second electronic device includes the first application, and the first information identification code is used to provide information for the second electronic device to display a fourth interface, and the fourth interface is the addition page of the first user in the first application.

[0014] In the above method, the first information identification code provided by the first option of the first application supports the second electronic device to scan and add it to the first application of the second electronic device, that is, the first information identification code of the first user can be shared with other devices or other users.

[0015] In a possible implementation manner, when the first electronic device logs in to the instant messaging application, the first electronic device synchronizes the media social information corresponding to the instant messaging application of the first user to a second application, and the second application is used to manage the instant messaging application.

[0016] In a possible implementation manner, the obtaining of the media social information corresponding to the instant messaging application in response to the user operation on the first control includes:

[0017] In response to a user operation on the first control, obtain the media social information corresponding to the instant messaging application from the second application.

[0018] In the above method, the first user is the owner user, and the second application is a system application. The media social information of the owner user can be automatically synchronized to the first application through the second application without the need for user means to add, reducing the implementation steps and improving the implementation efficiency.

[0019] In a possible implementation manner, after the response to the user operation on the first control, it further includes:

[0020] Display a pop-up window card, where the pop-up window card includes a prompt message, and the reminder message is used to prompt the user to download and log in to the instant messaging application.

[0021] It can be seen that when the information acquisition fails, the user can be prompted with the reason for the failure, facilitating the user's timely response and improving the processing efficiency.

[0022] In a possible implementation manner, the first electronic device includes a second control for providing a code scanning function, and the method further includes:

[0023] In response to a user operation on the second control, obtain a second information identification code based on the code scanning function;

[0024] Obtain the media social information corresponding to the instant messaging application of the second user from the second information identification code;

[0025] Based on the media social information, start the instant messaging application and display a first addition page of the second user in the instant messaging application, where the first addition page includes an addition control;

[0026] In response to a user operation on the addition control of the first addition page, add the second user as a contact in the instant messaging application.

[0027] In the above method, the first electronic device can scan the second information identification code provided by other electronic devices, so as to add friends to the instant messaging application corresponding to the second information identification code, improving the addition speed.

[0028] In a possible implementation manner, the first electronic device includes a second control for providing a code scanning function, and the method further includes:

[0029] In response to a user operation on the second control, obtain a second information identification code based on the code scanning function;

[0030] Obtain the media social information corresponding to the instant messaging application of the second user from the second information identification code;

[0031] Start the first application based on the media social information, and display a second addition page of the second user in the first application, where the addition page includes an addition control;

[0032] In response to a user operation on the addition control of the second addition page, add the media social information corresponding to the instant messaging application of the second user to the contact option of the second user in the first application.

[0033] In the above method, the first electronic device can scan a second information identification code provided by another electronic device, and add the second information identification code and the media social information of the instant messaging application corresponding to the second information identification code in the first application of the first electronic device.

[0034] In a second aspect, an electronic device provided by an embodiment of the present application includes: one or more processors; a memory; wherein, the memory is coupled to the one or more processors, and the memory is used to store computer program code, and the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the method for displaying social information described in the first aspect or any possible implementation manner of the first aspect.

[0035] In a third aspect, the present application provides a chip or a chip system, and the chip or the chip system includes at least one processor and a communication interface, and the communication interface and the at least one processor are interconnected by a line, and the at least one processor is used to run a computer program or an instruction to execute the method for displaying social information described in the first aspect or any possible implementation manner of the first aspect. Among them, the communication interface in the chip can be an input / output interface, a pin or a circuit, etc.

[0036] In a possible implementation, the chip or the chip system described above in the embodiment of the present application further includes at least one memory, and instructions are stored in the at least one memory. The memory can be a storage unit inside the chip, for example, a register, a cache, etc., or a storage unit of the chip (for example, a read-only memory, a random access memory, etc.).

[0037] In a fourth aspect, an embodiment of the present application provides a computer storage medium, and the computer storage medium stores a computer program, and when the computer program is executed by a processor, the computer is enabled to execute the method for displaying social information described in the first aspect or any possible implementation manner of the first aspect.

[0038] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a communication device, it causes the communication device to execute the method for displaying social information described in the first aspect or any possible implementation manner of the first aspect.

[0039] It should be understood that the description of technical features, technical solutions, beneficial effects or similar languages in the present application does not imply that all features and advantages can be achieved in any single embodiment. On the contrary, it can be understood that the description of features or beneficial effects means that at least one embodiment includes specific technical features, technical solutions or beneficial effects. Therefore, the description of technical features, technical solutions or beneficial effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in this embodiment can be combined in any appropriate manner. Those skilled in the art will understand that an embodiment can be implemented without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in specific embodiments that do not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The following introduces the drawings used in the embodiments of the present application.

[0041] Figures 1A - 1C is a user interface for a set of address book applications to display social information provided by an embodiment of the present application;

[0042] Figure 2 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application;

[0043] Figure 3 Exemplarily shows a schematic software architecture diagram of an electronic device 100;

[0044] Figures 4A - 4G Exemplarily provides a user interface for displaying an information identification code;

[0045] Figures 5A - 5D Provides a user interface for adding / identifying an information identification code;

[0046] Figures 6A - 6D is a user interface for sharing an information identification code provided by an embodiment of the present application;

[0047] Figures 7A - 7C is a schematic flowchart of displaying social information provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0048] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification and appended claims of the present application, the singular forms "a", "an", "the", "above-mentioned", "said", "this" are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more of the listed items.

[0049] Hereinafter, the terms "first" and "second" are only for descriptive purposes and should not be construed as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality" is two or more.

[0050] The term "user interface (UI)" in the specification, claims and drawings of the present application is a media interface for interaction and information exchange between an application program or an operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface of an application program is source code written in a specific computer language such as Java, Extensible Markup Language (XML), etc. The interface source code is parsed and rendered on a terminal device and finally presented as content recognizable by the user, such as controls like pictures, texts, buttons, etc. A control (also known as a widget) is a basic element of the user interface. Typical controls include a toolbar, a menu bar, a text box, a button, a scrollbar, pictures, and texts. The attributes and content of the controls in the interface are defined by tags or nodes. For example, XML passes through <textview> 、 <imgview> 、 <videoview>Nodes such as these are used to define the controls included in the interface. One node corresponds to one control or property in the interface, and after being parsed and rendered, the node presents as visible content to the user. In addition, in the interfaces of many applications, such as hybrid applications, there are usually web pages included. A web page, also known as a page, can be understood as a special control embedded in the application interface. A web page is source code written in a specific computer language, such as hyper text markup language (HTML), cascading style sheets (CSS), JavaScript (JS), etc. The web page source code can be loaded and displayed as recognizable content to the user by a browser or a web page display component similar to the browser in function. The specific content included in the web page is also defined by tags or nodes in the web page source code. For example, HTML uses 、 、 <video> 、 <canvas>Define the elements and attributes of a web page.

[0051] A commonly used form of the user interface is the graphical user interface (GUI), which refers to the user interface related to computer operations displayed in a graphical manner. It can be an interface element such as an icon, window, control, etc. displayed on the display screen of an electronic device, where the control can include visible interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc.

[0052] Figures 1A - 1C It is the user interface for a set of address book applications provided by an embodiment of the present application to display social information.

[0053] Figure 1A It is the main interface of an address book application provided by an embodiment of the present application. The main interface 111 can be the interface corresponding to the contact option, including a group control 101, a business card folder control 102, and a my business card control 103, as well as controls for one or more contacts. Among them, the options corresponding to the group control 101 include the groups determined by the contacts. If user A (i.e., the user of this device) wants to view or edit their social information, they can click on the business card folder control 102. The electronic device 100 responds to the user operation on the business card folder control 102 (such as a click operation) and displays Figure 1B the interface shown.

[0054] In Figure 1B the interface 112 shown, it includes multiple social information of user A. For example, the social information includes: phone (mobile phone number and / or landline number), email, company website, address, etc., one or more of them. User A can edit and update their social information through the edit control in the interface 112.

[0055] Exemplarily, if user A wants to provide or display their social information to other users (such as user B) so that other users can quickly add user A's social information, user A can click on Figure 1A the my business card folder control 102 shown. The electronic device 100 responds to the user operation on Figure 1A the my business card folder control 102 shown (such as a click operation) and displays the interface as Figure 1C shown.

[0056] In Figure 1C the interface 113 shown, it includes the social information of user A and an information identification code 1131 carrying the social information. The social information can be Figure 1B The social information in the interface 112 shown. Among them, the information identification code is an image formed according to the coding rule, such as a QR code, a bar code, etc. The information identification code 1131 carries multiple social information of user A, which is used for other devices (such as the second electronic device) to scan and identify and obtain the information carried by the information identification code 1131. Exemplarily, when the second electronic device identifies the identification image recording the information identification code 1131, it can automatically create a contact option of user A and add multiple social information of user A under this option.

[0057] However, there are various instant messaging applications in the electronic device, that is, user A has multiple social accounts. At present, the social information provided by the address book application of the electronic device only includes traditional social information such as phone numbers (mobile phone numbers and / or landline numbers), email addresses, company websites, and addresses. Therefore, the electronic device only supports the quick addition of the above traditional social information through the address book application, and cannot add the social accounts corresponding to the instant messaging applications. Therefore, it can no longer meet the growing social needs.

[0058] Based on this, the present application provides a method for displaying social information, which is applied to an electronic device installed with an instant messaging application. The electronic device displays a first interface of a first application, and the first interface includes a first option. The first application is used to manage one or more contacts. Exemplarily, the first application may be an address book application. The first option is a function related to the instant messaging application provided by the first application. For example, the first option is used to store the media social information of the instant messaging application of the first user, and the first user is one of the one or more contacts.

[0059] The electronic device responds to the user operation on the first option and displays a first page, and the first page includes a first control. The electronic device responds to the user operation on the first control and obtains the media social information corresponding to the instant messaging application of the first user. Therefore, the media social information corresponding to the instant messaging application of the first user can be synchronized to the first option of the first application. The electronic device can display a second interface of the first application, and the second interface displays a first information identification code carrying the media social information of the first user. The first information identification code is used to provide the media social information of the instant messaging application of the first user to the second electronic device and / or the second user. It can be understood that the electronic device 100 can add the media social information of multiple instant messaging applications of the first user in the first option. In this way, the electronic device 100 can provide the media social information of multiple instant messaging applications of the first user to the second electronic device and / or the second user through the first option of the first application, so that the second electronic device and / or the second user can add the first user in the corresponding instant messaging application, improving the operation convenience.

[0060] In one implementation, the second electronic device can scan the first information identification code. If an instant messaging application is installed in the second electronic device and in response to a user operation to open the instant messaging application, the second electronic device can start the instant messaging application and display an addition page of the first user in the instant messaging application.

[0061] In one implementation, the second electronic device can scan the first information identification code, obtain the media social information of the instant messaging application of the first user carried by the first information identification code, and add the media social information of the instant messaging application of the first user under the contact option of the first user in the first application of the second electronic device.

[0062] First of all, the electronic device in the embodiments of the present application can be a smart screen device, a smart TV (television, TV), a mobile phone, a tablet computer, an ultra-mobile personal computer (UMPC), a netbook, and a cellular phone, a personal digital assistant (PDA), a wearable device (such as a smart watch, a smart bracelet), etc., which are devices with a display function. The embodiments of the present application do not impose special restrictions on the specific form of the electronic device.

[0063] Exemplarily, taking the electronic device as a mobile phone as an example, Figure 2 FIG. 11 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application. That is, exemplarily, Figure 2 the shown electronic device can be a mobile phone.

[0064] Such as Figure 2 As shown, the electronic 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, a headphone jack 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric 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, etc.

[0065] It can be understood that the structure schematically shown in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0066] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0067] The controller may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.

[0068] A memory can also be set in the processor 110 for storing instructions and data. In one implementation, the memory in the processor 110 is a cache memory. This memory can save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0069] The charging management module 140 is used to receive charging input from a charger. 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 inputs from the battery 142 and / or the charging management module 140 to supply power to the processor 110, the internal memory 121, the display screen 194, the camera 193, the wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as the battery capacity, the number of battery charge cycles, and the battery health status (leakage, impedance). In another implementation, the power management module 141 can also be set in the processor 110. In another implementation, the power management module 141 and the charging management module 140 can also be set in the same device.

[0070] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.

[0071] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example: the antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In another implementation, the antenna can be used in combination with a tuning switch.

[0072] The mobile communication module 150 may provide solutions for wireless communications including second generation (2G) / third generation (3G) / fourth-generation (4G) / fifth generation (5G) / sixth generation (6G) and the like applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves through the antenna 1, and perform processing such as filtering and amplifying on the received electromagnetic waves, and then transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves through the antenna 1 and radiate them out. In one implementation, at least some functional modules of the mobile communication module 150 may be provided in the processor 110. In one implementation, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be provided in the same device.

[0073] The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through audio devices (not limited to the speaker 170A, receiver 170B, etc.), or displays images or videos through the display screen 194. In one implementation, the modulation and demodulation processor may be an independent device. In another implementation, the modulation and demodulation processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.

[0074] The wireless communication module 160 may provide solutions for wireless communications applied to the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSSs), frequency modulation (FM), near field communication (NFC), infrared (IR), and so on. 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 the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive signals to be sent from the processor 110, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna 2 for radiation.

[0075] In one embodiment, the antenna 1 of the electronic 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 electronic device 100 can communicate with the network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).

[0076] The electronic device 100 implements the display function through 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 the application processor. The GPU is used to execute mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change the display information.

[0077] The display screen 194 is used to display images, videos, user interfaces, controls, windows, etc. In one implementation, the display screen 194 is used to display the information identification code obtained by a method for displaying social information provided in this application. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In one embodiment, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0078] The electronic device 100 can implement the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.

[0079] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera photosensitive element, where the optical signal is converted into an electrical signal. The camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and color of the image. The ISP can also optimize parameters such as the exposure and color temperature of the shooting scene. In one embodiment, the ISP can be set in the camera 193.

[0080] The camera 193 is used to capture static images or videos. An object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal and then transmits the electrical signal to the ISP to convert it into a digital image signal. 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, etc. format. In one embodiment, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0081] The camera 193 may include one or more of the following cameras: a telephoto camera, a wide-angle camera, an ultra-wide-angle camera, a zoom camera, or a depth camera, etc. Among them, the telephoto camera has a small shooting range and is suitable for shooting distant scenes; the wide-angle camera has a larger shooting range; the ultra-wide-angle camera has a shooting range larger than that of the wide-angle camera and is suitable for shooting scenes with larger pictures such as panoramas. The depth camera can be used to measure the object distance of the object to be photographed, that is, to measure the depth information of the object to be photographed. For example, it may include a three-dimensional (3D) depth camera, a time of flight (TOF) depth camera, or a binocular depth camera, etc.

[0082] Among them, the camera 193 may include a main camera and a secondary camera. The main camera can be used to take pictures. For example, it may include a telephoto camera, a wide-angle camera, an ultra-wide-angle camera, or a zoom camera, etc. The secondary camera can be used for distance measurement or other auxiliary functions. For example, it may include a depth camera.

[0083] The camera 193 may include a front camera and / or a rear camera. The front camera may include one or more main cameras, and the rear camera may also include one or more main cameras. When taking pictures, the target main camera used by the electronic device to collect images may be the default main camera or the main camera selected by the user. The specific position and form of the camera 193 are not limited in the embodiments of the present application. In the embodiments of the present application, when the electronic device 100 performs a scanning process in response to a user operation, it may use the front or rear camera 193 to collect the image to be recognized, and process the image collected by the camera 193 into a preview image stream for display on the scanning preview interface, etc.

[0084] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, files such as music and videos are saved in the external memory card.

[0085] The internal memory 121 can be used to store computer-executable program codes, and the executable program codes include instructions. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.). The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.). In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121, and / or the instructions stored in the memory provided in the processor.

[0086] The electronic device 100 can implement an audio function through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and an application processor, etc.

[0087] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals.

[0088] The speaker 170A, also known as a "loudspeaker", is used to convert an audio electrical signal into a sound signal.

[0089] The receiver 170B, also known as a "handset", is used to convert an audio electrical signal into a sound signal.

[0090] The microphone 170C, also known as a "microphone" or "transmitter", is used to convert a sound signal into an electrical signal.

[0091] The headphone jack 170D is used to connect a wired headphone.

[0092] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In one embodiment, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a device comprising at least two parallel plates with conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A. In one embodiment, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions.

[0093] The gyro sensor 180B may be used to determine the motion posture of the electronic device 100. In one embodiment, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) may be determined by the gyro sensor 180B.

[0094] The air pressure sensor 180C is used to measure air pressure.

[0095] The magnetic sensor 180D includes a Hall sensor, and the electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case.

[0096] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).

[0097] The distance sensor 180F is used to measure distance.

[0098] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.

[0099] The ambient light sensor 180L is used to sense the brightness of the ambient light.

[0100] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0101] The temperature sensor 180J is used to detect temperature.

[0102] The touch sensor 180K, also known as the "touch control device". The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also known as the "touch control screen". The touch sensor 180K is used to detect a touch operation acting thereon or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a different position from the display screen 194.

[0103] The bone conduction sensor 180M can acquire vibration signals.

[0104] The keys 190 include a power-on key, volume keys, etc. The keys 190 can be mechanical keys or touch keys. The electronic device 100 can receive key inputs and generate key signal inputs related to the user settings and function control of the electronic device 100.

[0105] The motor 191 can generate a vibration prompt. The indicator 192 can be an indicator light and can be used to indicate the charging state, power change, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect the SIM card.

[0106] The software system of the electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservices architecture, or cloud architecture. For example, the software system with a layered architecture can be the Android system, or the Harmony operating system (OS), or other software systems, or a system jointly constructed by the above multiple software systems. In the embodiments of the present application, the Android system with a layered architecture is taken as an example to illustrate the software structure of the electronic device 100.

[0107] Figure 3 An exemplary schematic diagram of the software architecture of an electronic device 100 is shown.

[0108] The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate through software interfaces. In one implementation, the Android system is divided into four layers, from top to bottom are the application layer, application framework layer, Android runtime and system libraries, and kernel layer.

[0109] The application layer can include a series of application packages.

[0110] Such as Figure 3 As shown, the application package may include applications such as camera, information, files, memo, address book, settings, call, instant messaging, Bluetooth, etc. The applications in this application may also be replaced by other software such as applets and atomic services.

[0111] Among them, the settings application includes various functions and options that can be used to adjust the appearance and behavior of the electronic device, including network options, notification settings, sound and vibration settings, screen brightness and backlight settings, application settings, user and account settings, and so on.

[0112] The instant messaging application can also be called a social media application, including software that realizes online chatting and communication through instant messaging technology. The user and account settings in the settings application can be used to manage the social accounts and social users corresponding to the instant messaging application.

[0113] The address book application includes multiple contacts and the corresponding social information for each contact. The social information includes traditional social information and media social information. The traditional social information includes phone numbers (mobile phone numbers and / or landline numbers), email, company website, address, etc., and the media social information includes the social accounts corresponding to the instant messaging application.

[0114] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.

[0115] As Figure 3 shown, the application framework layer may include a window manager (WM), content providers, view system, resource manager, input manager, notification manager, etc.

[0116] The window manager is used to manage window programs. The window manager can obtain the display screen size and appearance, determine whether the appearance mode of the display screen is the dark mode or the light mode, and whether it is split screen, whether there are floating windows, status bars, locked screens, screen captures, etc.

[0117] The content provider is used to store and obtain data and make this data accessible to applications. The data may include files, folders, text, videos, pictures, audio, dialed and answered calls, browsing history and bookmarks, phone books, etc.

[0118] The view system includes visual controls, such as text controls for displaying text, picture controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including an address book icon can include a view for displaying text and a view for displaying pictures. Exemplarily, an interface including traditional social information can include a view for displaying the corresponding text of the traditional social information and a view for displaying a first information identification code; an interface including media social information can include a view for displaying the corresponding text of the media social information and a view for displaying a second information identification code. The first information identification code carries traditional social information, and the second information identification code carries media social information.

[0119] The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.

[0120] The input module is used to obtain the original input events corresponding to touch operations (including information such as touch coordinates and timestamps of touch operations) from the kernel layer and identify the controls corresponding to the input events.

[0121] The notification manager enables the application to display notification information in the status bar. It can be used to convey notification-type messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify that the download is complete, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as a notification of a background-running application, or a notification that appears in the form of a dialog window on the screen. For example, it can prompt text information in the status bar, emit a prompt tone, the electronic device 100 vibrates, the indicator light flashes, etc.

[0122] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for the scheduling and management of the Android system.

[0123] The core libraries contain two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core libraries of Android.

[0124] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0125] The system library may include multiple functional modules. For example: surface manager, Media Libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), rendering module, etc.

[0126] The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.

[0127] The media library supports the playback and recording of multiple common audio and video formats, as well as static picture files, etc. The media library can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0128] The 3D graphics processing library is used to implement 3D graphics drawing, picture rendering, synthesis, and layer processing, etc.

[0129] The 2D graphics engine is a drawing engine for 2D drawing.

[0130] The kernel layer is the layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, and a sensor driver.

[0131] The following exemplarily illustrates the working processes of the software and hardware of the electronic device 100.

[0132] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including information such as touch coordinates and the timestamp of the touch operation). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event.

[0133] In one implementation, taking the touch operation as a click operation, and the control corresponding to the click operation being, for example, the control for adding a social application in the interface of the address book application, the address book application can then call the interface of the application framework layer to obtain the username and social account of the social application from various resources stored in the resource manager. Then, the electronic device detects the user's operation on the creation control in the interface of the address book application through the screen, calls the view system to create a view including a second information identification code, and then controls the display driver through the kernel layer to display the view including the second information identification code through the display screen 194. Among them, the second information identification code carries the social username and social account of the social application obtained in response to the above control for adding the social application.

[0134] In one implementation, when the touch operation is a click operation, and the control corresponding to the click operation is, for example, a code scanning control in the interface of a certain application for starting the code scanning function, the application can then call the camera process, such as by calling an interface in the application framework layer, and then start the camera process through the camera driver in the kernel layer. The electronic device 100 detects a touch / click / long press operation of the user on the code scanning control through the screen, or other operations that can trigger the image acquisition process, and then starts the camera process, such as the camera service, calls the camera to obtain an image including the second information identification code, so as to obtain the media social information carried by the second information identification code, open the social application software corresponding to the media social information and / or add the above media social information in the address book application.

[0135] The following describes the application scenarios involved in the embodiments of the present application and an example of the user interface in this scenario.

[0136] In Scenario 1, when the electronic device 100 displays the first user interface of the first application (such as the address book application), and receives an input event for triggering the display of the information identification code, at this time, the electronic device 100 can display an interface including the information identification code.

[0137] Figures 4A - 4G An exemplary user interface including the information identification code is provided. Among them:

[0138] Figure 4A is the main interface of an electronic device provided by an embodiment of the present application. As Figure 4A shown, the main interface 300 may include a status bar 301, a page indicator 302, and a plurality of application icons.

[0139] Among them, the status bar 301 may include one or more signal strength indicators of mobile communication signals (also known as cellular signals), a wireless fidelity (Wi-Fi) signal strength indicator, a battery status indicator, a time indicator, etc.

[0140] The page indicator 302 can be used to indicate the positional relationship between the currently displayed page and other pages.

[0141] Multiple application icons may include a settings application icon 113A, an app market application icon 113B, a browser application icon 113C, an instant messaging application icon 113D, a gallery application icon 113E, a camera application icon 113F, a contacts application icon 113G, a phone application icon, a messages application icon, etc. Not limited to the above icons, the main interface 113 may also include other application icons, which will not be listed one by one here. The multiple application icons may be distributed on multiple pages. The page indicator 312 can be used to indicate which page among the multiple pages carrying multiple application programs the user is currently browsing. The user can browse other pages through a touch operation of swiping left and right.

[0142] Among them, the instant messaging application can also be called a social media application, including software that realizes online chatting and communication through instant messaging technology. Through the instant messaging application, communication with the other party can be quickly achieved, and text, pictures, videos, audio, file archives, etc. can be sent according to the functions of different application programs.

[0143] It can be understood that Figure 4A The user interface shown hereinafter and its subsequent descriptions only exemplarily show a possible user interface style of an electronic device taking a mobile phone as an example, and should not constitute a limitation on the embodiments of the present application.

[0144] Exemplarily, a variety of instant messaging applications are installed in the electronic device 100. After creating the username and account of the instant messaging application, the username and account of the instant messaging application can be synchronized to the settings application. In one implementation, under the user and account options of the settings application of the electronic device 100, the username and account of the instant messaging application can be stored. If the user wants to view the stored username and account of the instant messaging application, they can click Figure 4A the settings application icon 113A in the shown main interface 300. The electronic device 100 responds to the user operation on the settings application icon 113A (for example, the user operation is a touch operation), and displays an interface 310 as shown in Figure 4B the figure.

[0145] Figure 4B The interface 310 shown in the figure is the main interface of the settings application, including a login XX account control, a wireless and network control, a device connection control, an application and notification control, a user and account control, a display control, a sound control, a storage control, etc. The electronic device 100 responds to the user operation on the user and account control, and displays an interface 311 as shown in Figure 4C the figure. Figure 4C The interface 311 shown is the page corresponding to the user and the account, including the currently logged-in user account (such as the account of user A), and the personal user's account. User A can be the local user, that is, the user of the electronic device. In the personal user's account, it includes the users and accounts corresponding to multiple stored instant messaging applications, such as the users and accounts corresponding to Instant Messaging 1, Instant Messaging 2, Instant Messaging 3, Instant Messaging 4, Instant Messaging 5, and Instant Messaging 6 respectively. Among them, the users corresponding to the instant messaging include the user names (names), user avatars, etc. displayed in the instant messaging application, and the accounts corresponding to the instant messaging include the account numbers that can log in to the instant messaging application, etc. For example, Instant Messaging 1 includes user name 1 and account number 12345. Searching for user name 1 and / or account number 12345 in Instant Messaging 1 can search for the corresponding user.

[0146] Exemplarily, if the user wants to update / edit their media social information in the address book application, they can click Figure 4A the address book application icon 113G in the main interface 300 shown. The electronic device 100 responds to the Figure 4A user operation on the address book application icon 113G in the shown interface, and displays an interface 320 as shown in Figure 4D the figure.

[0147] Figure 4D The interface 320 shown is the contact interface in the address book application, including a group control, a business card folder control, my business card control 321, my social card control 322, and controls for one or more contacts. Among them, under the option corresponding to my business card control 321, it includes the user's traditional social information, such as phone numbers (mobile phone numbers and / or landline numbers), email, company website, address, etc. For the relevant description of my business card control 321, reference can be made to Figures 1A - 1C the relevant description therein, which will not be elaborated here. Under the details corresponding to my social card control 322, it includes the user's media social information. For example, the media social information can include Figure 4C the users and accounts corresponding to the instant messaging in the interface 311 shown. The electronic device responds to the Figure 4D user operation on my social card control 322 in the shown interface, and displays an interface 330 as shown in Figure 4E the figure. In Figure 4E the interface 330 shown, there are displayed an instant messaging application and its corresponding view control 331 or link control 332. Among them, the link control 332 is used to indicate that the user and account corresponding to the instant messaging application have not been synchronized to the my social card option in the address book application, and the view control 331 is used to indicate that the user and account corresponding to the instant messaging application have been synchronized to the my social card option in the address book application.

[0148] Exemplarily, from Figure 4E it can be seen that Instant Messaging 1 corresponds to the viewing control 331, indicating that the user and account corresponding to Instant Messaging 1 have been synchronized to the My Social Card option. Instant Messaging 2, Instant Messaging 3, Instant Messaging 4, and Instant Messaging 7 respectively correspond to the link control 332, indicating that the users and accounts corresponding to Instant Messaging 2, Instant Messaging 3, Instant Messaging 4, and Instant Messaging 7 have not been synchronized to the My Social Card option. In response to a user operation on the link control 332 (for example, the link control 332 corresponding to Instant Messaging 2, the link control 332 corresponding to Instant Messaging 3, the link control 332 corresponding to Instant Messaging 4, and the link control 332 corresponding to Instant Messaging 7), the electronic device 100 can Figure 4C perform an information synchronization link with the instant messaging in the interface 311 shown, obtain the user and account corresponding to the instant messaging corresponding to the link control 332, for example, obtain the user and account corresponding to Instant Messaging 2, the user and account corresponding to Instant Messaging 3, and the user and account corresponding to Instant Messaging 4, and display Figure 4F the interface 340 shown.

[0149] In one case, because Figure 4C Instant Messaging 7 does not exist in the interface 311 shown, indicating that the user and account of Instant Messaging 7 are not stored under the "User and Account" option in the settings application. Therefore, when the electronic device 100 fails to obtain the user and account corresponding to Instant Messaging 7 in response to a user operation on the link control 332 corresponding to Instant Messaging 7, a prompt message "Please download Instant Messaging 7 and log in to your account first" can be displayed in a pop-up window.

[0150] In Figure 4F the interface 340 shown, the users and accounts corresponding to Instant Messaging 2, Instant Messaging 3, and Instant Messaging 4 have been synchronized to the My Social Card option in the address book application. Therefore, the link controls corresponding to Instant Messaging 2, Instant Messaging 3, and Instant Messaging 4 are updated to display the viewing control 331. In response to a user operation on Figure 4E the interface 330 shown or in response to a user operation on the viewing control 331 in Figure 4F the interface 340 shown, for example, in response to a user operation on the viewing control 331 corresponding to Instant Messaging 1, the Figure 4G user interface 350 shown can be displayed.

[0151] In Figure 4G In the shown user interface 350, media social information corresponding to instant messaging 1 and an information identification code 351 carrying the media social information are displayed. Among them, the media social information includes the user name of instant messaging 1 and the account link of instant messaging 1. For example, the account link includes uniform resource locator (URL) information. A URL, also known as a web address, is a unique identifier used to locate resources on the Internet. Every file on the Internet has a unique URL, which contains information indicating the address of the file and how the browser should handle it. Therefore, the account link of instant messaging 1 is used to point to the web address of the user name and account in instant messaging 1, and the information identification code 351 can provide the address to jump to the personal page of the user name and account in instant messaging 1. In addition, the user interface 350 also includes a sharing control 352. In response to a user operation on the sharing control 352, the electronic device 100 can share the media social information of instant messaging 1 of user A and the information identification code 351 carrying the media social information with other users.

[0152] Similarly, it can be known that in response to user operations on the viewing controls 331 corresponding to instant messaging 2, instant messaging 3, and instant messaging 4 respectively, the electronic device 100 can display the media social information corresponding to instant messaging 2, instant messaging 3, and instant messaging 4 and the information identification codes carrying the media social information respectively.

[0153] It should be noted that Figure 4E the shown interface 330 or Figure 4F the shown interface 340 also includes an all control 333. Under the option corresponding to the all control 333, there is media social information corresponding to the instant messaging that has been synchronized. For example, for Figure 4E the shown interface 330, since only the media social information corresponding to instant messaging 1 has been synchronized, when the electronic device 100 responds to a user operation on the all control 333, the displayed information identification code carries the media social information corresponding to instant messaging 1. For Figure 4F the shown interface 340, since the media social information corresponding to instant messaging 1, instant messaging 2, instant messaging 3, and instant messaging 4 has been synchronized, when the electronic device 100 responds to a user operation on the all control 333, the displayed information identification code carries the media social information corresponding to instant messaging 1, instant messaging 2, instant messaging 3, and instant messaging 4 respectively.

[0154] It can be understood that when the user logs in to Instant Messaging 1, the user name and account used to log in to Instant Messaging 1 can be automatically added to the "Users and Accounts" option in the settings application. Then, through the My Social Card function provided by the contacts application, the user name and account corresponding to Instant Messaging 1 can be synchronized to the contacts application. Therefore, the contacts application in the electronic device 100 can provide the user's media social information through the My Social Card, that is, the user name and user account of the user in multiple instant messaging applications.

[0155] In Scenario 2, when the electronic device displays the second user interface of the second application (such as a barcode scanning application) and receives an input event for triggering the barcode scanning function, at this time, the electronic device 100 can display an interface for adding / identifying an information identification code.

[0156] Figures 5A - 5D A user interface for adding / identifying an information identification code is provided. Among them:

[0157] Figure 5A This is a user interface for a barcode scanning information identification code provided by an embodiment of the present application. An application program capable of providing a barcode scanning function is installed in the electronic device 100. When the electronic device 100 acts on a barcode scanning control for starting the barcode scanning function in the interface of this application program, the Figure 5A shown user interface 510 is displayed. In the user interface 510, the electronic device 100 uses the rear camera to capture a first image including the information identification code 511 of user B. After scanning and identifying the media social information of user B carried by the information identification code 511, the Figure 5B shown user interface 520 can be displayed. Among them, the information identification code 511 of user B can be generated in the My Social Card of the contacts application program of the electronic device by user B. The generation method of the information identification code 511 of user B can refer to the Figures 4A - 4G generation method of the information identification code 351 of user A, which will not be elaborated here.

[0158] In Figure 5B the shown user interface 520, a pop-up card 512 is included. The pop-up card 512 displays a prompt message "Media social information corresponding to Instant Messaging 1 of user B", a save control 5122, and a jump control 5121. If the user wants to save the media social information corresponding to Instant Messaging 1 of user B, the save control 5122 can be clicked. In response to the user operation on the save control 5122, the electronic device 100 can display the Figure 5C shown user interface 530.

[0159] In Figure 5C In the user interface 530 shown, the media social information of user B (including the user name of Instant Messaging 1 and the account link of Instant Messaging 1) and the information identification code 511 carrying the media social information are displayed. In response to an operation on the save control 531, if user B exists as a contact in the address book application, the media social information of user B is added to the contact user B. If user B does not exist as a contact in the address book application, a new contact user B is created and the media social information of user B is added to the contact user B. If user B exists as a contact in the address book application and the media social information of user B also exists, the media social information of user B is updated.

[0160] If the user wants to add the social account of user B in Instant Messaging 1, the user can click on the jump control 5121. The electronic device 100 responds to Figure 5B the user operation on the jump control 5121 in the user interface 520 shown, or the electronic device responds to Figure 5C the user operation on the "account link of Instant Messaging 1" in the user interface 530 shown. The electronic device 100 can display Figure 5D the user interface 540 shown.

[0161] Figure 5D The user interface 540 shown is the addition page of user B in Instant Messaging 1. In Figure 5D the user interface 540 shown, the avatar, user name CCC, and user account DDDDDD of user B in Instant Messaging 1 are displayed, as well as the addition control 541. In response to the user operation on the addition control 541, the electronic device 100 can add user B as a friend in Instant Messaging 1.

[0162] Scenario 3: The electronic device displays the third user interface of the first application (such as the address book application) and receives an input event for the user to trigger the sharing function. At this time, the electronic device 100 can share the information identification code with other users.

[0163] Figures 6A - 6D is a user interface for sharing the information identification code provided by an embodiment of the present application. Among them:

[0164] Figure 6A is a contact interface 610 in the address book application provided by an embodiment of the present application, including a group control, a business card folder control, a my business card control, a my social card control, and a control for one or more contacts (such as contact B). In response to the user on the contact B control 611, the electronic device 100 can display Figure 6B the interface 620 shown.

[0165] In Figure 6B In the interface 620 shown, it includes controls for viewing the business card folder of User B, a control 621 for viewing social cards, as well as information such as phone number, email, company website, and address.

[0166] Among them, the control for viewing the business card folder can provide the traditional social information of User B, and the traditional social information of User B can be obtained by the electronic device 100 scanning the information identification code carrying the traditional social information of User B. The control 621 for viewing social cards can provide the media social information of the instant messaging of User B, and the traditional social information of User B can be obtained by the electronic device 100 scanning the information identification code carrying the media social information of User B. In response to the user operation on the control 621 for viewing social cards, the electronic device 100 can display Figure 6C the interface 630 shown.

[0167] In Figure 6C the interface 630 shown, it includes different instant messagings under the social card option for adding User B to contacts and their corresponding viewing controls. For example, the viewing controls 631 corresponding to instant messaging 1, instant messaging 2, instant messaging 3, instant messaging 4, and instant messaging 5 respectively, and the total control 633 corresponding to all instant messagings. In response to the viewing control 631 corresponding to the instant messaging of User B, the electronic device 100 can display the media social information corresponding to the instant messaging. For example, in response to the user operation on the viewing control 631 corresponding to instant messaging 1 of User B, the electronic device 100 can display Figure 6D the user interface 640 shown.

[0168] In Figure 6D the user interface 640 shown, the media social information corresponding to instant messaging 1 of User B and the information identification code 511 carrying this media social information are displayed. Among them, the method for obtaining the media social information corresponding to instant messaging 1 of User B and the information identification code 511 carrying this media social information can refer to Figures 5A - 5D 。The media social information includes the user name CCC of user B in Instant Messaging 1 and the account link DDDD of user B. For example, the account link includes uniform resource locator (URL) information. A URL, also known as a web address, is a unique identifier used to locate resources on the Internet. Every file on the Internet has a unique URL, which contains information indicating the address of the file and how the browser should handle it. Therefore, the account link of Instant Messaging 1 is used to point to the web address of user B's user name and account in Instant Messaging 1, and the information identification code 511 can provide a jump to the address of the personal page where user B's user name and account are located in Instant Messaging 1. The user interface 640 also includes a sharing control 641. In response to a user operation on the sharing control 641, the electronic device 100 can share the media social information of user B and the information identification code 511 carrying the media social information with other users.

[0169] Similarly, it can be known that in response to Figure 4C user operations on the viewing controls 631 corresponding to Instant Messaging 2, Instant Messaging 3, Instant Messaging 4, and Instant Messaging 5 of user B in the interface 630 shown, the electronic device 100 can respectively display the media social information corresponding to Instant Messaging 2, Instant Messaging 3, Instant Messaging 4, and Instant Messaging 5 and the information identification code carrying the media social information.

[0170] Therefore, the electronic device 100 can provide various media social information of user B through the My Social Card under the address book application, facilitating the sharing of user B's media social information with third parties.

[0171] Next is the method for displaying social information provided by the embodiments of the present application.

[0172] Please refer to Figures 7A - 7C , Figures 7A - 7C which is a schematic flowchart of a method for displaying social information provided by the embodiments of the present application. This method can be applied to Figure 2 the electronic device 100 shown in Figure 3 and the electronic device 100 shown in

[0173] Step S701: The first electronic device displays a first interface of a first application.

[0174] Among them, one or more instant messaging applications are installed in the first electronic device.

[0175] In one implementation, the first application is used to manage one or more contacts. The first application can be an address book application, and the first interface can be the user interface of the address book application. For example, Figure 4D The user interface 320 shown.

[0176] In one embodiment, the first user is one of one or more contacts. For example, the first user is Figures 4E - 4G User A in Figures 6A - 6D or the first user is User B in

[0177] In one embodiment, the first interface may include a first option for providing functions related to the instant messaging application of the first user. For example, the first option may be Figure 4D "My Social Card" in the user interface 320 shown, or the first option may be Figure 6B "View Social Card" in the user interface 620 shown.

[0178] Step S702: The first electronic device displays a first page in response to a user operation on the first option.

[0179] In one possible embodiment, the first page includes one or more instant messaging applications of the first user and a first control corresponding to each instant messaging application. For example, the first page may be Figure 4E the user interface 330 shown, and the first control may be Figure 4E the link control 332 in the user interface 330 shown.

[0180] Step S703: The first electronic device obtains media social information corresponding to the instant messaging application of the first user in response to a user operation on the first control.

[0181] Specifically, if the user wants to add media social information of the instant messaging of the first user under the first option of the first application, the user can click the first control corresponding to the instant messaging. The first electronic device obtains the media social information corresponding to the above instant messaging application in response to the user operation on the first control. For example, the first electronic device obtains the media social information corresponding to instant messaging 2 of the first user in response to the user operation on the link control 332 corresponding to instant messaging 2 in Figure 4E the user interface 330 shown; the first electronic device obtains the media social information corresponding to instant messaging 4 of the first user in response to the user operation on the link control 332 corresponding to instant messaging 4 in Figure 4E the user interface 330 shown.

[0182] In a possible implementation, when the first electronic device logs in to the instant messaging application through media social information such as the user name and user account of the first user, the first electronic device can synchronize the media social information such as the user name and user account corresponding to the instant messaging application of the first user to the second application, and the second application is used to manage one or more instant messaging applications. For example, the second application can be Figure 4A the settings application in the user main interface 300 shown, and the media social information such as the user name and user account corresponding to the instant messaging application of the first user is synchronized to Figure 4B and Figure 4C the "Users and Accounts" option in the user interface shown.

[0183] In one implementation, the user selects the instant messaging application to be added / linked, and the first electronic device responds to the user operation on the first control corresponding to the instant messaging application. If the media social information corresponding to the instant messaging application is stored in the second application, the media social information corresponding to the instant messaging application is obtained from the second application. For example, as can be seen from Figure 4C and Figure 4E the media social information corresponding to Instant Messaging 1, Instant Messaging 2, Instant Messaging 3, and Instant Messaging 4 is stored in the "Users and Accounts Option" of the settings application.

[0184] In one implementation, if the media social information corresponding to the instant messaging application is not stored in the second application, for example, as can be seen from Figure 4C and Figure 4E the media social information corresponding to Instant Messaging 7 is not stored in the "Users and Accounts Option" of the settings application, the first electronic device displays a pop-up card, and the pop-up card includes a prompt message for prompting the user to download and log in to the instant messaging application.

[0185] Step S704: The first electronic device displays a second interface corresponding to the first option.

[0186] Wherein, the second interface displays a first information identification code carrying the media social information of the first user, and the first information identification code is used to provide the media social information of the first user to the second electronic device and / or the second user. For example, the first information identification code can be Figure 4G the information identification code 351 in the user interface 350 shown, including the URL information of the social media account.

[0187] In a possible implementation, the first page includes a second control, and the first electronic device responds to the user operation on the second control and displays a second interface corresponding to the first option. For example, the second control can be the media social information of the corresponding instant messaging application, and the second interface can be the media social information of the corresponding instant messaging application. The first electronic device responds to Figure 4E The user operation of the viewing control 331 in the user interface 330 shown is displayed Figure 4G the user interface 350 shown.

[0188] In one implementation, the first control is used to obtain the media social information of the corresponding instant messaging application. After the first control obtains the media social information of the corresponding instant messaging application in response to a user operation, the first control can be updated to a second control. For example, Figure 4E the link controls 332 corresponding to the instant messaging 2, instant messaging 3, and instant messaging 4 shown are updated to Figure 4F the viewing controls 331 corresponding to the instant messaging 2, instant messaging 3, and instant messaging 4 shown.

[0189] Exemplarily, the second electronic device is installed with an instant messaging application. The first information identification code is used to provide the second electronic device with information for displaying a third interface (such as URL information). The third interface is the addition page of the first user in the instant messaging application. For example, the third interface can be Figure 5D the user interface 540 shown.

[0190] Exemplarily, the second electronic device includes a first application. The first information identification code is used to provide the second electronic device with information for displaying a fourth interface. The fourth interface is the addition page of the first user in the first application. For example, the fourth interface can be Figure 5C the user interface 530 shown.

[0191] In a possible implementation manner, after steps S701 - S704, the method further includes Figure 7B the steps shown:

[0192] Step S705: The first electronic device, in response to a user operation on the second control, obtains a second information identification code based on the barcode scanning function.

[0193] Specifically, the first electronic device includes a second control for providing the barcode scanning function. For example, the first electronic device, in response to a user operation on the second control, displays a user interface 510 as shown in Figure 5A and obtains a second information identification code based on the barcode scanning function. For example, Figure 5A the information identification code 511 shown. It can be understood that the second information identification code is provided by the first application of the second electronic device. The second electronic device can generate the second information identification code in the first application according to steps S701 - S705.

[0194] Step S706: The first electronic device obtains the media social information corresponding to the second user's instant messaging application from the second information identification code, and starts the instant messaging application based on the media social information, and displays the first addition page of the second user in the instant messaging application.

[0195] Specifically, when the first electronic device scans the second information identification code and obtains the media and social information corresponding to the second user's instant messaging application stored in the second information identification code, a pop-up window may be displayed to indicate whether to open the information in the browser / instant messaging application. If the user chooses to open the information, the URL of the second user's first add page in the instant messaging application is obtained from the media and social information, the instant messaging application is opened, and the first add page of the second user in the instant messaging application is displayed. The first add page includes an add control.

[0196] Step S707: The first electronic device adds the second user as a contact in the instant messaging application in response to the user operation on the add control of the first add page.

[0197] Specifically, the first electronic device scans the second information identification code provided by the second electronic device through the first application, and can jump to the adding page of the corresponding instant messaging application for adding the second user, so that the second user can be added directly in the instant messaging application.

[0198] It is understandable that if the second electronic device can provide multiple second information identification codes through the first application, and each second information identification code corresponds to an instant messaging application, then the first electronic device can scan the multiple second information identification codes provided by the second electronic device through the first application to jump to the corresponding instant messaging application, so that the first electronic device can add the second user in the corresponding instant messaging application. This facilitates operation and improves addition efficiency.

[0199] For detailed description of steps S705 to S707, please refer to the above Figure 5A 、 Figure 5B and Figure 5D , I will not go into details this time.

[0200] In a possible implementation, after steps S701 to S705, the method further includes: Figure 7C Steps shown:

[0201] Step S708: The first electronic device obtains a second information identification code based on a code scanning function in response to a user operation on the second control.

[0202] Specifically, the first electronic device includes a second control for providing a code scanning function. For example, the first electronic device displays a code scanning function in response to a user operation on the second control. Figure 5A The user interface 510 shown in the figure obtains the second information identification code based on the code scanning function, for example Figure 5A The information identification code 511 shown. It can be understood that the second information identification code is provided by the first application of the second electronic device, and the second electronic device can generate the second information identification code in the first application according to steps S701 - S705.

[0203] Step S709: The first electronic device obtains the media social information corresponding to the instant messaging application of the second user from the second information identification code, starts the first application based on the media social information, and displays the second addition page of the second user in the first application.

[0204] Specifically, when the first electronic device scans the second information identification code and obtains the information stored in the second information identification code, it can determine whether it is the media social information corresponding to the instant messaging application of the second user. If it is the media social information, it can pop up a prompt to ask whether to add it to the existing contacts. If it is added to the existing contacts (such as the contacts corresponding to the second user), then start the first application, select the second user from the first application to add the media social information, display the second addition page of the second user in the first application, and the addition page includes an addition control.

[0205] Step S710: The first electronic device adds the media social information corresponding to the instant messaging application of the second user to the contact option of the second user in the first application in response to the user operation on the addition control of the second addition page.

[0206] Specifically, the first electronic device scans the second information identification code provided by the second electronic device through the first application, and can jump to the addition page for adding the second user in the corresponding first application. Therefore, it can directly add the media social information of the instant messaging application of the second user to the contact option of the second user in the first application.

[0207] It can be understood that if the second electronic device can provide multiple second information identification codes through the first application, and each second information identification code corresponds to an instant messaging application, then the first electronic device scans the multiple second information identification codes provided by the second electronic device through the first application, and can add the media social information corresponding to multiple instant messaging applications to the contact option of the second user in the first application. Therefore, the first electronic device can directly jump to the corresponding instant messaging application in the first application based on the URL in the media social information corresponding to the multiple instant messaging applications saved, so that the first electronic device can add the second user in the corresponding instant messaging application. The operation is convenient and the addition efficiency is improved.

[0208] For the detailed description of steps S708 - S710, reference can be made to the above Figures 5A - 5C , and it will not be elaborated here again.

[0209] It should be understood that each step in the above method embodiments provided by this application can be completed by the integrated logic circuit of the hardware in the processor or the instructions in the form of software. The method steps disclosed in combination with the embodiments of this application can be directly embodied as being executed and completed by the hardware processor, or executed and completed by the combination of the hardware and software modules in the processor.

[0210] This application also provides an electronic device, which may include: a memory and a processor. Among them, the memory can be used to store a computer program; the processor can be used to call the computer program in the memory so that the electronic device executes the method in any one of the above embodiments.

[0211] This application also provides a chip system, which includes at least one processor for implementing the functions involved in the method executed by the electronic device in any one of the above embodiments.

[0212] In a possible design, the chip system further includes a memory, and the memory is used to store program instructions and data, and the memory is located inside or outside the processor.

[0213] The chip system can be composed of chips, or can include chips and other discrete devices.

[0214] Optionally, the processor in the chip system can be one or more. The processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor, which is implemented by reading the software code stored in the memory.

[0215] Optionally, the memory in the chip system can also be one or more. The memory can be integrated with the processor or separated from the processor, and the embodiments of this application do not limit this. Exemplarily, the memory can be a non-transitory processor, such as a read-only memory ROM, which can be integrated with the processor on the same chip or can be separately arranged on different chips. The embodiments of this application do not make specific limitations on the type of the memory and the setting manner of the memory and the processor.

[0216] Exemplarily, the chip system may be a field programmable gate array (FPGA), may be an application specific integrated circuit (ASIC), may also be a system on chip (SoC), may also be a central processor unit (CPU), may also be a network processor (NP), may also be a digital signal processor (DSP), may also be a micro controller unit (MCU), may also be a programmable logic device (PLD), or other integrated chips.

[0217] The present application also provides a computer program product, which includes: a computer program (which may also be referred to as code or instruction). When the computer program is run, it causes a computer to execute the method performed by the electronic device in any one of the above embodiments.

[0218] The present application also provides a computer-readable storage medium, which stores a computer program (which may also be referred to as code or instruction). When the computer program is run, it causes a computer to execute the method performed by the electronic device in any one of the above embodiments.

[0219] The various embodiments of the present application can be combined arbitrarily to achieve different technical effects.

[0220] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in this application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that the computer can access or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state disk, Solid State Disk), etc.

[0221] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware with a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The foregoing storage media include: various media such as ROM or random access memory RAM, magnetic disks, or optical discs that can store program codes.

[0222] In summary, the above description is only an embodiment of the technical solution of the present invention and is not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made according to the disclosure of the present invention shall be included within the protection scope of the present invention.< / canvas> < / video> < / videoview> < / imgview> < / textview>

Claims

1. A method for displaying social information, characterized in that, Applied to a first electronic device, where one or more instant messaging applications are installed on the first electronic device, the method includes: Display a first interface of a first application, the first interface including a first option, the first application being used to manage one or more contacts, the first option being used to provide functions related to the one or more instant messaging applications of a first user, the first user being one of the one or more contacts; In response to a user operation on the first option, display a first page, the first page including a first control; ​ ​ 2. The method according to claim 1, characterized in that, ​ 3. The method according to claim 1 or 2, characterized in that ​ 4. The method according to any one of claims 1-3, characterized in that ​ 5. The method according to claim 4, wherein ​ ​ 6. The method according to any one of claims 1-5, characterized in that, ​ ​ 7. The method according to any one of claims 1-6, characterized in that, ​ ​ ​ ​ ​ 8. The method according to any one of claims 1 to 6, characterized in that, ​ In response to a user operation on the second control, obtain a second information identification code based on the code scanning function; Obtain media social information corresponding to the instant messaging application of the second user from the second information identification code; Based on the media social information, start the first application and display a second addition page of the second user in the first application, where the addition page includes an addition control; In response to a user operation on the addition control of the second addition page, add the media social information corresponding to the instant messaging application of the second user to the contact option of the second user in the first application.

9. An electronic device, characterized in that, The electronic device includes: one or more processors; a memory; wherein, the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to cause the electronic device to execute the method according to any one of claims 1-8.

10. A chip system, characterized in that, The chip system is applied to an electronic device, the chip system includes one or more processors, and the processors are used to call computer instructions to cause the electronic device to execute the method according to any one of claims 1-8.

11. A computer program product comprising instructions, characterized in that, When the computer program product runs on an electronic device, cause the electronic device to execute the method according to any one of claims 1-8.

12. A computer-readable storage medium, comprising instructions, characterized in that, When the instruction runs on an electronic device, cause the electronic device to execute the method according to any one of claims 1-8.

Citation Information

Patent Citations

  • Friend adding method and device and electronic equipment

    CN113300944A

  • Method for combining multiple applications and simultaneously starting multiple applications and electronic equipment

    CN114003324A

  • Authentication method of distributed equipment and electronic equipment

    CN115515133A

  • Operating method for application group, and terminal

    WO2017185346A1