Communication data management method and device, terminal, storage medium and product

Identification and integration of Bluetooth communication data through the terminal identification of the second terminal solves the problem of poor management of existing Bluetooth communication data, realizes the global unified management and classification organization of communication data, and improves the management effect.

CN119300012APending Publication Date: 2025-01-10GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411455363.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The data management effect in existing Bluetooth communications is poor, resulting in isolated and scattered communication data, making it difficult to effectively manage it.

Method used

The communication data is identified and integrated through the terminal identification of the second terminal, the received first communication data and historical communication data are integrated together, and stored in the database to realize global unified management.

Benefits of technology

It improves the management effect of communication data, realizes the integration and classification organization of data from the same source, and facilitates user management and utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119300012A_ABST
    Figure CN119300012A_ABST
Patent Text Reader

Abstract

The invention provides a communication data management method and device, a terminal, a storage medium and a product, and belongs to the technical field of communication. Comprises: based on a short-distance communication module of a first terminal, receiving a communication request sent by a second terminal, the communication request carrying first communication data; determining a terminal identifier of the second terminal based on the communication request; determining first historical communication data from a database based on the terminal identifier of the second terminal; and performing integration processing on the first communication data and the first historical communication data, and storing the integrated communication data in a database. An accurate owner is set for the communication data by using the terminal identifier of the second terminal, so that when the first communication data of the second terminal is received, the first communication data and the first historical communication data belonging to the second terminal can be integrated together, thereby realizing the global unified management of the communication data, and improving the user experience. And the management effect of the communication data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device, terminal, storage medium and product for managing communication data. Background Art

[0002] Since Bluetooth module communication has the advantages of low power consumption, low cost and high security, it is widely used in terminals such as mobile phones. The terminal can transmit data between other terminals through the Bluetooth module without a mobile network. In the related art, when the first terminal transmits Bluetooth data to the second terminal through the Bluetooth module, after the second terminal receives the data, it stores the Bluetooth data in the user-specified or default storage space, and the Bluetooth communication ends; when the first terminal transmits Bluetooth data to the second terminal through the Bluetooth module next time, the second terminal stores the received Bluetooth data in the user-specified or default storage space. It can be seen that the Bluetooth communication process of the related art is isolated, resulting in poor management of Bluetooth data. Summary of the invention

[0003] The embodiments of the present application provide a communication data management method, device, terminal, storage medium and product, which use the terminal identification of the second terminal to set the accurate owner of the communication data, so that when the first communication data of the second terminal is received, the first communication data and the first historical communication data belonging to the second terminal can be integrated together, thereby realizing global unified management of the communication data and improving the management effect of the communication data. The technical solution is as follows:

[0004] In one aspect, a method for managing communication data is provided, the method comprising:

[0005] Based on the short-range communication module of the first terminal, receiving a communication request sent by the second terminal, wherein the communication request carries the first communication data;

[0006] Based on the communication request, determining a terminal identification of the second terminal;

[0007] Based on the terminal identification of the second terminal, determining first historical communication data from a database, where the first historical communication data is communication data of the second terminal received by the first terminal based on the short-range communication module;

[0008] The first communication data and the first historical communication data are integrated and stored in the database.

[0009] In another aspect, a communication data management device is provided, the device comprising:

[0010] A receiving module, configured to receive a communication request sent by a second terminal based on a short-distance communication module of the first terminal, wherein the communication request carries the first communication data;

[0011] A first determining module, configured to determine a terminal identification of the second terminal based on the communication request;

[0012] A second determining module, configured to determine first historical communication data from a database based on a terminal identifier of the second terminal, wherein the first historical communication data is communication data of the second terminal received by the first terminal based on the short-distance communication module;

[0013] The management module is used to integrate the first communication data and the first historical communication data, and store the integrated communication data in the database.

[0014] On the other hand, a terminal is provided, the terminal comprising a processor and a memory, the memory storing at least one program code, the at least one program code being loaded and executed by the processor to implement the communication data management method described above.

[0015] On the other hand, a computer-readable storage medium is provided, wherein at least one program code is stored in the storage medium, and the at least one program code is loaded and executed by a processor to implement the communication data management method described above.

[0016] On the other hand, a computer program product is provided. The computer program product stores at least one program code. The at least one program code is used to be executed by a processor to implement the communication data management method described above.

[0017] In an embodiment of the present application, effective identity identification is performed on the communication data in the database based on the terminal identification of the second terminal, that is, the accurate owner of the communication data is set using the terminal identification of the second terminal, so that when the first communication data of the second terminal is received, the first communication data and the first historical communication data belonging to the second terminal can be integrated together, thereby realizing global unified management of the communication data and improving the management effect of the communication data. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram showing an implementation environment of a communication data management method shown in an exemplary embodiment of the present application;

[0019] Figure 2 A flowchart showing a method for managing communication data shown in an exemplary embodiment of the present application is shown;

[0020] Figure 3A flowchart showing a method for managing communication data shown in an exemplary embodiment of the present application is shown;

[0021] Figure 4 A flowchart showing a method for managing communication data shown in an exemplary embodiment of the present application is shown;

[0022] Figure 5 A flowchart showing a method for managing communication data shown in an exemplary embodiment of the present application is shown;

[0023] Figure 6 A flowchart showing a method for managing communication data shown in an exemplary embodiment of the present application is shown;

[0024] Figure 7 A flowchart showing a method for managing communication data shown in an exemplary embodiment of the present application is shown;

[0025] Figure 8 A flowchart showing a method for managing communication data shown in an exemplary embodiment of the present application is shown;

[0026] Fig. 9 A flowchart showing a method for managing communication data shown in an exemplary embodiment of the present application is shown;

[0027] Fig.10 A block diagram of a communication data management device shown in an exemplary embodiment of the present application is shown;

[0028] Fig.11 A block diagram of a terminal according to an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION

[0029] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0030] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0031] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the first communication data, second communication data, first historical communication data and second historical communication data involved in this application are all obtained with full authorization.

[0032] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment of an exemplary communication data management method of the present application. Figure 1 , the implementation environment includes a first terminal 101 and a second terminal 102, and the first terminal 101 and the second terminal 102 can communicate with each other through a short-distance communication module. For example, the first terminal 101 receives the first communication data sent by the second terminal 102 based on the short-distance communication module, and can integrate the first communication data with the first historical communication data received in history, so as to achieve the management of the communication data. For another example, the first terminal 101 sends the second communication data to the second terminal 102 based on the short-distance communication module, so that the second terminal 102 integrates the second communication data and the second historical communication data. The short-distance communication module can be Bluetooth (BT), Wireless Local Area Network (WLAN) module, peer to peer (P2P, infrared module, sidelink module, etc.

[0033] In some embodiments, the first terminal 101 may include various handheld devices (mobile phones or tablet computers, etc.) with short-range communication modules, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment (UE), mobile stations (MS), etc. For the convenience of description, in the embodiments of the present application, the above-mentioned devices are collectively referred to as the first terminal 101. In the embodiments of the present application, "UE" is used in some places to represent "first terminal 101". The second terminal 102 may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices linked to wireless modems, as well as various forms of user equipment, mobile stations, etc.

[0034] Please refer to Figure 2 , which shows a flow chart of a method for managing communication data according to an exemplary embodiment of the present application. Figure 2, the method comprising:

[0035] Step 201: Based on the short-range communication module of the first terminal, a communication request sent by the second terminal is received, where the communication request carries first communication data.

[0036] The short-distance communication module may be a BT module, a WLAN module, a P2P module, an infrared module or a sidelink module, etc. The communication request may carry the first communication data (message content), and the communication request may also carry the data type of the first communication data, and the data type may be text, pictures, call data, etc. The communication request may also carry the identity information of the second terminal, and the identity information of the second terminal may be the address information of the short-distance communication module of the second terminal or the terminal identification of the second terminal; for example, if the short-distance communication module is a BT module, the address information of the short-distance communication of the second terminal may be the Bluetooth address of the second terminal. The terminal identification of the second terminal is an identification for uniquely identifying the second terminal; for example, the terminal identification of the second terminal may be the International Mobile Equipment Identity (IMEI) of the second terminal, or the terminal identification of the second terminal may be an identification generated for the second terminal on the first terminal side for uniquely identifying the second terminal; for example, the terminal identification of the second terminal may be a hash value obtained by performing a hash operation on the address information of the short-distance communication module of the second terminal. The communication request may also carry other information; the other information may be at least one of time information, the protocol used for short-distance communication, and the encryption key of the first communication data; when the first communication data is encrypted communication data, the other information needs to include the encryption key; when the encrypted first communication data is received from the second terminal based on the short-distance communication module, the encrypted first communication data is decrypted based on the encryption key to obtain the first communication data.

[0037] In some embodiments, the communication request carries a data type, first communication data (also referred to as data content), a Bluetooth address, and other information as an example for explanation; Figure 3 The process of the second terminal generating a communication request can be: the second terminal obtains the data type, the first communication data (also referred to as data content) and other information, and then adds the Bluetooth address of the second terminal to the communication request (also referred to as a payload), and the communication request is sent to the Bluetooth module of the second terminal, and the Bluetooth module of the second terminal sends the communication request to the Bluetooth module of the first terminal.

[0038] Before the first terminal receives the first communication data sent by the second terminal based on the short-distance communication module, the first terminal establishes a short-distance communication link with the second terminal through the short-distance communication module; in this step, the first communication data sent by the second terminal is received based on the short-distance communication link. For example, the short-distance communication module can be a BT module, then the first terminal establishes a Bluetooth communication link with the second terminal based on the BT module, and receives the first communication data sent by the second terminal based on the Bluetooth communication link.

[0039] Step 202: Determine a terminal identification of a second terminal based on the first communication data.

[0040] In some embodiments, the first communication data carries address information of the short-range communication module of the second terminal; accordingly, this step may be: converting the address information into a terminal identifier of the second terminal; wherein the step of converting the address information into a terminal identifier of the second terminal may be: performing a hash operation on the address information to obtain a hash value, and determining the hash value as the terminal identifier of the second terminal; for example, if the address information is a Bluetooth address, then the Bluetooth address of the second terminal is hashed to obtain the terminal identifier of the second terminal, and the terminal identifier is used to uniquely identify the second terminal.

[0041] In some other embodiments, the communication request carries the terminal identification of the second terminal; accordingly, this step may be: parsing the communication request to obtain the terminal identification of the second terminal. In the embodiment of the present application, the key to the attribution judgment of each communication data is the source of the communication data; in the embodiment of the present application, the terminal identification of the second terminal is used to identify the source of the communication data; and when the data sending end sends the communication request, it attaches its own identity information (terminal identification or Bluetooth address), so that when the receiving end receives the communication request, it extracts the identity information of the data sending end from it, so as to manage the received communication data based on the identity information of the sending end.

[0042] For example, see Figure 4 The first terminal receives a communication request, which carries the first communication data, the data type of the first communication data, the Bluetooth address of the second terminal and other information. The first terminal converts the Bluetooth address of the second terminal into a terminal identifier.

[0043] Step 203: Based on the terminal identification of the second terminal, determine first historical communication data from the database, where the first historical communication data is communication data of the second terminal that the first terminal has historically received based on the short-distance communication module.

[0044] In the related art, each communication data received in the database is isolated and scattered, lacking the connection between the communication data, which is extremely inconvenient for users to manage the communication data; in the embodiment of the present application, the communication data is effectively identified based on the terminal identification of the terminal in the database, that is, the communication data is accurately owned by the terminal identification of the second terminal, so that the first communication data historically sent by the second terminal can be obtained from the database based on the terminal identification of the second terminal.

[0045] The first communication data may be stored in the form of a data group; for example, please continue to refer to Figure 4 The first terminal queries the data group where the first historical communication data of the second terminal is located from the locally persistent data record based on the terminal identifier of the second terminal.

[0046] Step 204: Integrate the first communication data and the first historical communication data, and store the integrated communication data in a database.

[0047] Based on the terminal identification of the second terminal, the first communication data and the first historical communication data are integrated so that the communication data from the same source can be integrated and stored in the database. Figure 4 , the first terminal persistently stores the first communication data in the data group where the first historical communication data is located.

[0048] In an embodiment of the present application, effective identity identification is performed on the communication data in the database based on the terminal identification of the second terminal, that is, the accurate owner of the communication data is set using the terminal identification of the second terminal, so that when the first communication data of the second terminal is received, the first communication data and the first historical communication data belonging to the second terminal can be integrated together, thereby realizing global unified management of the communication data and improving the management effect of the communication data.

[0049] Please refer to Figure 5 , which shows a flow chart of a method for managing communication data according to an exemplary embodiment of the present application. Figure 5 , the method comprising:

[0050] Step 501: The first terminal receives a communication request sent by the second terminal based on a short-range communication module, where the communication request carries first communication data and a data type of the first communication data.

[0051] In some embodiments, this step is the same as step 201 and will not be repeated here.

[0052] Step 502: The first terminal determines the terminal identification of the second terminal based on the first communication data.

[0053] In some embodiments, this step is the same as step 202 and will not be repeated here.

[0054] Step 503: The first terminal determines first historical communication data from a database based on the terminal identification of the second terminal, where the first historical communication data is communication data of the second terminal received by the first terminal based on the short-distance communication module.

[0055] In some embodiments, this step is the same as step 203 and will not be described again. After the first terminal obtains the first historical communication data, it integrates the first communication data and the first historical communication data based on the data type of the first communication data through steps 504 and 505.

[0056] Step 504: The first terminal marks the data type of the first communication data.

[0057] The first terminal marks the data type of the first communication data to facilitate the classification and organization of the first communication data.

[0058] Step 505: The first terminal stores the first communication data with the data type marked in the data group where the first historical communication data is located. The integrated communication data is a data group, and the data group is used to store the communication data whose data source is the second terminal.

[0059] The first terminal stores the first communication data after marking the data type in the data group where the first historical communication data is located, thereby integrating the first communication data and the first historical communication data into the same data group, and also marks the data type for the first communication data, so as to clarify the classification and organization of the communication data, thereby realizing an efficient global unified management mechanism for the communication data.

[0060] Step 506: The first terminal stores the integrated communication data in a database.

[0061] In the embodiment of the present application, the communication data is effectively identified in the database based on the terminal identification of the second terminal, that is, the communication data is accurately set to own by the terminal identification of the second terminal, so that when the first communication data of the second terminal is received, the first communication data and the first historical communication data belonging to the second terminal can be integrated together, thereby realizing the global unified management of the communication data and improving the management effect of the communication data. In addition, the first terminal can also mark the data type of the first communication data, thereby realizing clear classification organization and further improving the management effect of the communication data.

[0062] Please refer to Figure 6 , which shows a flow chart of a method for managing communication data according to an exemplary embodiment of the present application. Figure 6 , the method comprising:

[0063] Step 601: The first terminal receives a communication request sent by the second terminal based on a short-range communication module, where the communication request carries first communication data and a data type of the first communication data.

[0064] In some embodiments, this step is the same as step 201 and will not be repeated here.

[0065] Step 602: The first terminal determines the terminal identification of the second terminal based on the first communication data.

[0066] In some embodiments, this step is the same as step 202 and will not be repeated here.

[0067] Step 603: The first terminal determines first historical communication data from a database based on the terminal identification of the second terminal, where the first historical communication data is communication data of the second terminal received by the first terminal based on the short-distance communication module.

[0068] In some embodiments, this step is the same as step 203 and will not be described again. After the first terminal obtains the first historical communication data, it integrates the first communication data and the first historical communication data based on the data type of the first communication data through steps 604 and 605.

[0069] Step 604: The first terminal determines a data subgroup corresponding to a data type from the data group where the first historical communication data is located, where the data group is used to store communication data whose data source is the second terminal, and the data subgroup is used to store communication data whose data source is the second terminal and whose data type is the data type of the first communication data.

[0070] The data group includes multiple data sub-groups, and the multiple data sub-groups are used to store communication data of multiple data types; for example, please refer to Figure 7 The second terminal receives the audio call data of device 1, the text data of device 2, the text data of device 1, the picture data of device 1, and the picture data of device 2 in multiple short-distance communication processes; then identifies the data type of the communication data, performs identity identification based on the Bluetooth address of the device, and groups the communication data according to the device to which it belongs, thereby obtaining the device 1 data group and the device 2 data group. The device 1 data group includes text data, audio call data, pictures, and other four data sub-groups, and the four data sub-groups are persistently stored locally, that is, stored in a local database.

[0071] Step 605: The first terminal stores the first communication data into the data subgroups in the data group, and the integrated data is a data group.

[0072] The first terminal stores the first communication data in a data sub-group corresponding to the data type of the first communication data in the data molecule, and when storing the first communication data, it can be stored based on the communication time of the first communication data, so that the communication data in the data sub-group is sorted based on the order of the communication time.

[0073] Step 606: The first terminal stores the integrated communication data in a database.

[0074] The first terminal stores the integrated communication data persistently in a local database.

[0075] In the embodiment of the present application, the communication data is effectively identified in the database based on the terminal identification of the second terminal, that is, the communication data is accurately set to own by the terminal identification of the second terminal, so that when the first communication data of the second terminal is received, the first communication data and the first historical communication data belonging to the second terminal can be integrated together, thereby realizing the global unified management of the communication data and improving the management effect of the communication data. In addition, the first terminal can also store communication data of different data types in different data sub-groups to realize more refined communication data management and further improve the management effect of the communication data.

[0076] Please refer to Figure 8 , which shows a flow chart of a method for managing communication data according to an exemplary embodiment of the present application. Figure 8 , the method comprising:

[0077] Step 801: The first terminal receives first communication data sent by the second terminal based on the short-distance communication module.

[0078] In some embodiments, this step is the same as step 201 and will not be repeated here.

[0079] Step 802: The first terminal determines the terminal identification of the second terminal based on the first communication data.

[0080] In some embodiments, this step is the same as step 202 and will not be repeated here.

[0081] Step 803: The first terminal determines first historical communication data from a database based on the terminal identification of the second terminal, where the first historical communication data is communication data of the second terminal received by the first terminal based on the short-distance communication module.

[0082] In some embodiments, this step is the same as step 203 and will not be repeated here.

[0083] Step 804: the first terminal determines second historical communication data from a database based on the terminal identifier of the first terminal and the terminal identifier of the second terminal, where the second historical communication data is communication data historically sent by the first terminal to the second terminal based on the short-distance communication module.

[0084] The process in which the first terminal determines the second historical communication data from the database based on the terminal identification of the first terminal and the terminal identification of the second terminal is similar to the process in which the first terminal determines the first historical communication data from the database based on the terminal identification of the second terminal, and is not repeated here.

[0085] Step 805: The first terminal integrates the first communication data, the first historical communication data and the second historical communication data.

[0086] In some embodiments, the first historical communication data and the second historical communication data are in the same data group; accordingly, this step may be: the first terminal marks the data type of the first communication data, stores the first communication data after the data type is marked in the data group where the first historical communication data and the second historical communication data are located, and the integrated communication data is the data group. In other embodiments, the first historical communication data and the second historical communication data are in different data groups; accordingly, this step may be: the first terminal marks the data type of the first communication data, stores the first communication data after the data type is marked in the first data group where the first historical communication data is located, integrates the first data group and the second data group where the second historical communication data are located, and the integrated communication data includes the first data group and the second data group.

[0087] In other embodiments, communication data are grouped and stored based on data types; accordingly, this step may be: the first terminal determines a data sub-group corresponding to the data type (the data type of the first communication data) from the data group where the first historical communication data and the second historical communication data are located, stores the first communication data in the data sub-group in the data group, and the integrated data is the data group.

[0088] Step 806: The first terminal stores the integrated communication data in a database.

[0089] In the embodiment of the present application, the communication data is effectively identified in the database based on the terminal identification of the second terminal, that is, the communication data is accurately set to own by using the terminal identification of the second terminal, so that when the first communication data of the second terminal is received, the first communication data and the first historical communication data belonging to the second terminal can be integrated together, thereby realizing the global unified management of the communication data and improving the management effect of the communication data. In addition, the first terminal can also integrate the first communication data and the first historical communication data and the second historical communication data belonging to the first terminal and the second terminal to form a communication data chain, further improving the management effect of the communication data.

[0090] Please refer to Fig. 9 , which shows a flow chart of a method for managing communication data according to an exemplary embodiment of the present application. Fig. 9 , the method comprising:

[0091] Step 901: The first terminal receives a communication request sent by the second terminal based on a short-range communication module, where the communication request carries first communication data.

[0092] In some embodiments, this step is the same as step 201 and will not be repeated here.

[0093] Step 902: The first terminal determines the terminal identification of the second terminal based on the communication request.

[0094] In some embodiments, this step is the same as step 202 and will not be repeated here.

[0095] Step 903: the first terminal determines first historical communication data from a database based on the terminal identification of the second terminal, where the first historical communication data is communication data of the second terminal received by the first terminal based on the short-distance communication module.

[0096] In some embodiments, this step is the same as step 203 and will not be repeated here.

[0097] Step 904: The first terminal integrates the first communication data and the first historical communication data, and stores the integrated communication data in a database.

[0098] In some embodiments, this step is the same as step 204; alternatively, this step may be implemented through the above steps 504-505; alternatively, this step may be implemented through the above steps 604-605; alternatively, this step may be implemented through the above steps 804-805, which will not be repeated here.

[0099] Step 905: The first terminal displays a communication interface corresponding to the short-range communication module, where the communication interface includes at least one dialog box.

[0100] In some embodiments, at least one dialog box includes a dialog box for historical data communications with the first terminal via the short-range communication module, and at least one dialog box is displayed in order of communication time from recent to far, that is, the dialog box for the most recent communication with the first terminal is displayed at the top of the communication interface.

[0101] In some embodiments, during the process of data transmission between the short-range communication module of the first terminal and the second terminal, the first terminal displays a floating button; in response to the floating button being triggered, the communication interface corresponding to the short-range communication module is displayed. The step of the first terminal displaying the floating button may be: the first terminal displays the floating button on the current interface; for example, if the current interface is the desktop, the first terminal displays the floating button on the desktop; for another example, if the current interface is the short video browsing interface, the first terminal displays the floating button on the short video browsing interface, so that the user can view the communication interface at any time through the floating button.

[0102] In other embodiments, the first terminal displays an icon corresponding to the short-range communication module on the desktop; in response to the icon being triggered, the communication interface corresponding to the short-range communication module is displayed. In an embodiment of the present application, an icon can be set on the desktop, and the user can click the icon to trigger the first terminal to display the communication interface.

[0103] In other embodiments, the first terminal may also integrate the dialog boxes of multiple short-distance communication modules included in the first terminal into one communication interface; accordingly, this step may be: the first terminal displays a comprehensive communication interface corresponding to multiple short-distance communication modules, the comprehensive communication interface includes multiple dialog boxes, and the multiple dialog boxes include dialog boxes for communication based on multiple short-distance communication modules; for example, if the first terminal includes a BT module and a WLAN module, the comprehensive communication interface displayed by the first terminal includes a dialog box for communication based on the BT module and a dialog box for communication based on the WLAN module. In addition, the module identifiers of multiple short-distance communication modules are displayed at the top of the comprehensive communication interface; in response to the module identifier of any short-distance communication module being triggered, at least one dialog box corresponding to the selected short-distance communication module is filtered from the comprehensive communication interface. In addition, the first terminal may also integrate multiple dialog boxes for communication based on multiple short-distance communication modules; in some embodiments, based on the terminal identifier of the opposite terminal, multiple dialog boxes for communication based on multiple distance communication modules are integrated, and multiple dialog boxes belonging to the same terminal identifier are integrated into one dialog box. For example, including dialog box 1, dialog box 2, dialog box 3 and dialog box 4, dialog box 1 is a dialog box for the first terminal to communicate with device 1 through the BT module, dialog box 2 is a dialog box for the first terminal to communicate with device 1 through the WLAN module, dialog box 3 is a dialog box for the first terminal to communicate with device 2 through the BT module, and dialog box 4 is a dialog box for the first terminal to communicate with device 2 through the WLAN module, then the first terminal integrates dialog box 1 and dialog box 2 together, and integrates dialog box 3 and dialog box 4 together. Integrating multiple dialog boxes together means merging them into one dialog box, and the merged dialog box displays the communication data in the integrated multiple dialog boxes; for example, the merged dialog box displays the communication data in the integrated multiple dialog boxes based on the order of distance of the communication data.

[0104] Step 906: The first terminal determines a target dialog box from at least one dialog box, where both ends of the target dialog box are the first terminal and the second terminal.

[0105] In some embodiments, for any dialog box, the first terminal displays the terminal identification of the opposite device of the dialog box, the user selects a target dialog box from at least one dialog box based on the terminal identification of the opposite device, and the first terminal determines the target dialog box selected in at least one dialog box. In other embodiments, for any dialog box, the first terminal displays the remark information of the opposite device of the dialog box; the user can select a target dialog box from at least one dialog box based on the remark information of the opposite device, and the first terminal determines the target dialog box selected in at least one dialog box. In an embodiment of the present application, at least one dialog box is integrated into the communication interface to realize a chat mode based on a short-distance communication module.

[0106] Step 907: The first terminal displays the first communication data and the first historical communication data in the target dialog box.

[0107] The first communication data and the first historical communication data can be displayed in the target dialog box in the order of the communication time; for example, the communication data with the most recent communication time is displayed at the top of the target dialog box. In the embodiment of the present application, the communication data is integrated, which greatly facilitates the user's use of these communication data, improves the value of the communication data to the user and the user experience of this function.

[0108] In an embodiment of the present application, the communication data is effectively identified based on the terminal identification of the second terminal in the database, that is, the accurate owner of the communication data is set using the terminal identification of the second terminal, so that when the first communication data of the second terminal is received, the first communication data and the first historical communication data belonging to the second terminal can be integrated together, thereby realizing global unified management of the communication data and improving the management effect of the communication data. In addition, the user can also view the historically transmitted communication data by triggering the display communication interface to realize the smooth chat of the communication data similar to chatting. Since short-distance communication does not need to rely on the mobile network, the embodiment of the present application can realize the smooth chat of communication data in the networkless communication scenario. Of course, in the networked communication scenario, the communication data received based on the short-distance communication module can also be classified and integrated for storage, so as to facilitate the user to efficiently manage and use all historical communication data of the end-to-end communication of the short-distance communication.

[0109] Please refer to Fig.10 , which shows a communication data management device shown in an exemplary embodiment of the present application, the device includes:

[0110] The receiving module 1001 is configured to receive a communication request sent by the second terminal based on the short-distance communication module of the first terminal, where the communication request carries the first communication data;

[0111] A first determining module 1002, configured to determine a terminal identification of the second terminal based on the communication request;

[0112] A second determining module 1003 is used to determine first historical communication data from a database based on the terminal identification of the second terminal, where the first historical communication data is communication data of the second terminal received by the first terminal based on the short-distance communication module;

[0113] The management module 1004 is used to integrate the first communication data and the first historical communication data, and store the integrated communication data in the database.

[0114] In some embodiments, the communication request also carries a data type of the first communication data;

[0115] The management module 1004 is configured to integrate the first communication data and the first historical communication data based on the data type of the first communication data.

[0116] In some embodiments, the management module 1004 is used to label the data type of the first communication data; store the first communication data with the labeled data type in the data group where the first historical communication data is located, and the integrated communication data is the data group, which is used to store the communication data whose data source is the second terminal.

[0117] In some embodiments, the management module 1004 is used to determine a data sub-group corresponding to the data type from the data group where the first historical communication data is located, the data group being used to store communication data whose data source is the second terminal, and the data sub-group being used to store communication data whose data source is the second terminal and whose data type is the data type of the first communication data; the first communication data is stored in the data sub-group in the data group, and the integrated data is the data group.

[0118] In some embodiments, the management module 1004 is used to determine second historical communication data from the database based on the terminal identification of the first terminal and the terminal identification of the second terminal, the second historical communication data being the communication data historically sent by the first terminal to the second terminal based on the short-range communication module; and integrate the first communication data, the first historical communication data and the second historical communication data.

[0119] In some embodiments, the communication request carries address information of the short-range communication module of the second terminal, and the first determining module 1002 is configured to convert the address information into a terminal identifier of the second terminal; or,

[0120] The communication request carries the terminal identification of the second terminal, and the first determining module 1002 is configured to parse the communication request to obtain the terminal identification of the second terminal.

[0121] In some embodiments, the apparatus further comprises:

[0122] A first display module, used to display a communication interface corresponding to the short-range communication module, wherein the communication interface includes at least one dialog box;

[0123] A third determining module is used to determine a target dialog box from the at least one dialog box, wherein both ends of the dialog of the target dialog box are the first terminal and the second terminal respectively;

[0124] The second display module is used to display the first communication data and the first historical communication data in the target dialog box.

[0125] In some embodiments, the first display module is used to display a floating button during data transmission between the short-range communication module of the first terminal and the second terminal; in response to the floating button being triggered, the communication interface corresponding to the short-range communication module is displayed.

[0126] In some embodiments, the first display module is used to display an icon corresponding to the short-range communication module on the desktop of the first terminal; in response to the icon being triggered, the communication interface corresponding to the short-range communication module is displayed.

[0127] In an embodiment of the present application, effective identity identification is performed on the communication data in the database based on the terminal identification of the second terminal, that is, the accurate owner of the communication data is set using the terminal identification of the second terminal, so that when the first communication data of the second terminal is received, the first communication data and the first historical communication data belonging to the second terminal can be integrated together, thereby realizing global unified management of the communication data and improving the management effect of the communication data.

[0128] It should be noted that the communication data management device provided in the above embodiment only uses the division of the above functional modules as an example when managing communication data. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the first terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the communication data management device provided in the above embodiment and the communication data management method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0129] Please refer to Fig.11 , which shows a block diagram of a terminal 1100 shown in an exemplary embodiment of the present application. The terminal 1100 in the present application may include one or more of the following components: a processor 1110 , a memory 1120 , and a display screen 1030 .

[0130] The processor 1110 may include one or more processing cores. The processor 1110 uses various interfaces and lines to connect the various parts of the entire terminal 1100, and executes various functions and processes data of the terminal 1100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1120, and calling data stored in the memory 1120. Optionally, the processor 1110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1110 can integrate one or more combinations of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content that needs to be displayed on the display screen 1030; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 1110, but may be implemented separately through a computer program product.

[0131] The memory 1120 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 1120 includes a non-transitory computer-readable storage medium. The memory 1120 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 1120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data (such as audio data, a phone book), etc., created according to the use of the terminal 1100.

[0132] The display screen 1030 is a display component for displaying a user interface. Optionally, the display screen 1030 is a display screen with a touch function, through which the user can use any suitable object such as a finger, a touch pen, etc. to perform touch operations on the display screen 1030.

[0133] The display screen 1030 is usually arranged on the front panel of the terminal 1100. The display screen 1030 can be designed as a full screen, a curved screen, a special-shaped screen, a double-sided screen or a folding screen. The display screen 1030 can also be designed as a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, etc., which is not limited in this embodiment.

[0134] In addition, those skilled in the art can understand that the structure of the terminal 1100 shown in the above drawings does not constitute a limitation on the terminal 1100, and the terminal 1100 may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the terminal 1100 also includes a Wifi module, an audio acquisition device, a speaker, a radio frequency circuit, an input unit, a sensor, an audio circuit, a Bluetooth module, a power supply and other components, which will not be described in detail here.

[0135] An embodiment of the present application further provides a computer-readable medium storing at least one program code, which is loaded and executed by a processor to implement the communication data management method shown in the above embodiments.

[0136] An embodiment of the present application further provides a computer program product, which stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the communication data management method shown in the above embodiments.

[0137] In some embodiments, the computer program product involved in the embodiments of the present application may be deployed on a terminal platform for execution, or executed on multiple terminals located at one location, or executed on multiple terminals distributed at multiple locations and interconnected by a communication network. Multiple terminals distributed at multiple locations and interconnected by a communication network may constitute a blockchain system.

[0138] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

[0139] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for managing communication data, characterized in that: The method comprises: Based on the short-range communication module of the first terminal, receiving a communication request sent by the second terminal, wherein the communication request carries the first communication data; Based on the communication request, determining a terminal identification of the second terminal; Based on the terminal identification of the second terminal, determining first historical communication data from a database, where the first historical communication data is communication data of the second terminal received by the first terminal based on the short-range communication module; The first communication data and the first historical communication data are integrated and stored in the database.

2. The method according to claim 1, characterized in that The communication request also carries the data type of the first communication data; The integrating and processing the first communication data and the first historical communication data includes: Based on the data type of the first communication data, the first communication data and the first historical communication data are integrated.

3. The method according to claim 2, characterized in that The integrating the first communication data and the first historical communication data based on the data type of the first communication data includes: Marking the data type of the first communication data; The first communication data with the data type marked is stored in the data group where the first historical communication data is located, and the integrated communication data is the data group, which is used to store the communication data whose data source is the second terminal.

4. The method according to claim 2, characterized in that: The integrating the first communication data and the first historical communication data based on the data type of the first communication data includes: Determine, from the data group where the first historical communication data is located, a data subgroup corresponding to the data type, the data group being used to store communication data whose data source is the second terminal, and the data subgroup being used to store communication data whose data source is the second terminal and whose data type is the data type of the first communication data; The first communication data is stored in the data subgroups in the data group, and the integrated data is the data group.

5. The method according to claim 1, characterized in that The integrating and processing the first communication data and the first historical communication data includes: Based on the terminal identifier of the first terminal and the terminal identifier of the second terminal, determining second historical communication data from the database, where the second historical communication data is communication data that the first terminal has historically sent to the second terminal based on the short-range communication module; The first communication data, the first historical communication data and the second historical communication data are integrated.

6. The method according to claim 1, characterized in that The determining, based on the communication request, a terminal identification of the second terminal includes: The communication request carries the address information of the short-range communication module of the second terminal, and the address information is converted into a terminal identification of the second terminal; or, The communication request carries the terminal identification of the second terminal, and the communication request is parsed to obtain the terminal identification of the second terminal.

7. The method according to claim 1, characterized in that The method further comprises: Displaying a communication interface corresponding to the short-range communication module, wherein the communication interface includes at least one dialog box; Determine a target dialog box from the at least one dialog box, wherein two dialogue ends of the target dialog box are the first terminal and the second terminal respectively; The first communication data and the first historical communication data are displayed in the target dialog box.

8. The method according to claim 7, characterized in that The displaying of the communication interface corresponding to the short-range communication module includes: During data transmission between the short-range communication module of the first terminal and the second terminal, displaying a floating button; In response to the floating button being triggered, a communication interface corresponding to the short-range communication module is displayed.

9. The method according to claim 7, characterized in that: The displaying of the communication interface corresponding to the short-range communication module includes: Displaying an icon corresponding to the short-range communication module on the desktop of the first terminal; In response to the icon being triggered, a communication interface corresponding to the short-range communication module is displayed.

10. A communication data management device, characterized in that: The device comprises: A receiving module, configured to receive a communication request sent by a second terminal based on a short-distance communication module of the first terminal, wherein the communication request carries the first communication data; A first determining module, configured to determine a terminal identification of the second terminal based on the communication request; A second determining module, configured to determine first historical communication data from a database based on a terminal identifier of the second terminal, wherein the first historical communication data is communication data of the second terminal received by the first terminal based on the short-distance communication module; The management module is used to integrate the first communication data and the first historical communication data, and store the integrated communication data in the database.

11. A terminal, characterized in that: The terminal includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the communication data management method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The storage medium stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the communication data management method according to any one of claims 1 to 9.

13. A computer program product, characterized in that The computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the communication data management method according to any one of claims 1 to 9.