Data sharing method and device, equipment, storage medium and product

By using the DCP module in the terminal device to detect and wake up the mutual transmission service module, the problem of the mutual transmission function in the existing technology cannot be opened normally, the efficiency and intelligence of data sharing are improved, and the unsensed data mutual transmission is realized.

CN119110249APending Publication Date: 2024-12-10GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411139784.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

Due to power consumption problems and policy requirements, the existing mobile phone mutual transmission function cannot be in a normal state, resulting in low data sharing efficiency and not intelligent. Users need to manually enable the mutual transmission service module for data sharing.

Method used

By introducing a distributed information synchronization platform (DCP) module into terminal devices, the data mutual transmission needs are detected and the mutual transmission service module is awakened without perception, so as to realize the mutual transmission normally open function, reduce user operations, improve data sharing efficiency and intelligence.

Benefits of technology

The unconsciously open state of the mutual transmission service module is realized, which improves the efficiency and intelligence of data sharing. The user experience is similar to the mutual transmission service module being in the normally open state, saving power consumption and simplifying the data sharing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119110249A_ABST
    Figure CN119110249A_ABST
Patent Text Reader

Abstract

The invention provides a data sharing method and device, equipment, a storage medium and a product, and belongs to the technical field of wireless communication. The method is applied to a first terminal, and comprises the following steps: in response to a data sharing broadcast of a second terminal detected by a DCP module of the first terminal and identity information of the second terminal meeting a data mutual transmission condition of the first terminal, waking up a mutual transmission service module of the first terminal; and sharing data between the first terminal and the second terminal through the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal. According to the invention, an inter-transmission normally-open function can be indirectly realized based on the DCP module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Currently, many mobile phones have a data transmission function, through which two mobile phones can share data such as pictures, videos or files, thereby realizing data sharing without using the mobile phone's traffic. Summary of the invention

[0003] The embodiments of the present application provide a data sharing method, device, equipment, storage medium and product, which can indirectly realize the mutual transmission normally open function based on the DCP module. The technical solution is as follows:

[0004] On the one hand, a data sharing method is provided, which is applied to a first terminal, and the method includes:

[0005] In response to the distributed information synchronization platform DCP module of the first terminal detecting the data sharing broadcast of the second terminal and the identity information of the second terminal meeting the data mutual transmission condition of the first terminal, waking up the mutual transmission service module of the first terminal;

[0006] Data is shared between the first terminal and the second terminal through the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal.

[0007] On the other hand, a data sharing method is provided, which is applied to a second terminal, and the method includes:

[0008] In response to the second terminal having a data sharing demand, waking up an inter-transmission service module of the second terminal;

[0009] Sending a notification message to the DCP module of the second terminal through the mutual transmission service module of the second terminal;

[0010] Sending a data sharing broadcast based on the notification message through the DCP module of the second terminal, so that the DCP module of the first terminal wakes up the mutual transmission service module of the first terminal in response to detecting the data sharing broadcast and the identity information of the second terminal meets the data mutual transmission condition of the first terminal;

[0011] Data is shared between the first terminal and the second terminal through the mutual transmission service module of the second terminal and the mutual transmission service module of the first terminal.

[0012] In another aspect, a data sharing device is provided, which is applied to a first terminal, and the device includes:

[0013] A first activation module, configured to wake up the data sharing service module of the first terminal in response to the distributed information synchronization platform DCP module of the first terminal detecting the data sharing broadcast of the second terminal and the identity information of the second terminal meeting the data mutual transmission condition of the first terminal;

[0014] The first sharing module is used to share data between the first terminal and the second terminal through the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal.

[0015] In another aspect, a data sharing device is provided, which is applied to a second terminal, and the device includes:

[0016] A second activation module, configured to wake up the mutual transmission service module of the second terminal in response to a data sharing demand of the second terminal;

[0017] A sending module, configured to send a notification message to the DCP module of the second terminal through the mutual transmission service module of the second terminal;

[0018] a broadcast module, configured to send a data sharing broadcast based on the notification message through the DCP module of the second terminal, so that the DCP module of the first terminal wakes up the mutual transmission service module of the first terminal in response to detecting the data sharing broadcast and the identity information of the second terminal meets the data mutual transmission condition of the first terminal;

[0019] The second sharing module is used to share data between the first terminal and the second terminal through the mutual transmission service module of the second terminal and the mutual transmission service module of the first terminal.

[0020] On the other hand, a terminal is provided. The terminal includes a processor and a memory. The memory stores at least one program code. The at least one program code is loaded and executed by the processor to implement the above-mentioned data sharing method.

[0021] 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 data sharing method described above.

[0022] 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 above-mentioned data sharing method.

[0023] In an embodiment of the present application, in response to the absence of a demand for mutual data transmission, the mutual transmission service module of the first terminal is in a dormant state, and at this time, the DCP module of the first terminal detects whether there is a demand for mutual data transmission; in response to the DCP module of the first terminal detecting the presence of a demand for mutual data transmission, the DCP module of the first terminal wakes up the mutual transmission service module of the first terminal, and the wake-up process is imperceptible to the user and does not require user operation; therefore, for the user, the mutual transmission service module of the first terminal is in a normally-on state, so that the present application can indirectly realize the mutual transmission normally-on function based on the DCP module. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0025] Figure 2 A flow chart of a data sharing method shown in an exemplary embodiment of the present application is shown;

[0026] Figure 3 A flow chart of a data sharing method shown in an exemplary embodiment of the present application is shown;

[0027] Figure 4 A flow chart of a data sharing method shown in an exemplary embodiment of the present application is shown;

[0028] Figure 5 A flow chart of a data sharing method shown in an exemplary embodiment of the present application is shown;

[0029] Figure 6 A flow chart of a data sharing method shown in an exemplary embodiment of the present application is shown;

[0030] Figure 7 A block diagram of a data sharing device shown in an exemplary embodiment of the present application is shown;

[0031] Figure 8 A block diagram of a data sharing device shown in an exemplary embodiment of the present application is shown;

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

[0033] 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.

[0034] 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.

[0035] 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 the relevant laws, regulations and standards of relevant countries and regions. For example, the data sharing broadcast, mutual broadcast and shared data involved in this application are all obtained with full authorization.

[0036] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment of a data sharing method shown in an exemplary embodiment of the present application. Figure 1 , the implementation environment includes: a first terminal 101 and a second terminal 102, both of which have a mutual transmission function, and the first terminal 101 and the second terminal 102 can share data through the mutual transmission function; that is, both the first terminal 101 and the second terminal 102 include a mutual transmission service module, and the mutual transmission service module of the first terminal 101 and the mutual transmission service module of the second terminal 102 share data. The mutual transmission service module can be AirDrop, Oshare or QuickShare, etc. The shared data can be data in any format such as pictures, videos or files.

[0037] In the related art, due to power consumption issues and policy requirements, the mutual transmission function of the first terminal 101 (and / or the mutual transmission function of the second terminal 102) cannot be in a normally open state; that is, the mutual transmission service module of the first terminal 101 and the mutual transmission service module of the second terminal 102 are often in a dormant state; in response to the user using the mutual transmission service module of the first terminal 101 (and / or the mutual transmission service module of the second terminal 102), the user manually turns on the mutual transmission service module, and manually turning on the mutual transmission service module not only leads to low efficiency in data sharing, but also causes data sharing to be not intelligent enough.

[0038] In the embodiment of the present application, the first terminal 101 and the second terminal 102 both include a DCP module, and the power consumption of the DCP module is relatively low, that is, the power consumption of the DCP module is lower than the power consumption of the mutual transmission service module, and because the DCP module of the first terminal 101 (and / or the DCP module of the second terminal 102) also carries other functions of the first terminal 101 (and / or the second terminal 102), therefore, in the embodiment of the present application, the first terminal 101 multiplexes the DCP module of the first terminal 101, and notifies the first terminal 101 to wake up the mutual transmission service module when the second terminal 102 shares data, and the second terminal 102 multiplexes the DCP module of the second terminal 102, and notifies the second terminal 102 to wake up the mutual transmission service module when data needs to be shared, thereby realizing the wake-up of the mutual transmission service module without the need for the user to manually turn it on, giving the user an intuitive feeling similar to that the mutual transmission service module is in a normally open state, thereby not only improving the efficiency of data sharing, but also making data sharing more intelligent.

[0039] In some embodiments, the first terminal 101 is a data sharing terminal, and the second terminal 102 is a data receiving terminal. Of course, the first terminal 101 can also be a data receiving terminal, and the second terminal 102 is a data sharing terminal; in the embodiment of the present application, the first terminal 101 is a data sharing terminal, and the second terminal 102 is a data receiving terminal. The first terminal 101 is any terminal with a mutual transmission function; for example, the first terminal 101 is a mobile phone, a tablet computer, a vehicle terminal, a wearable device (smart watch, smart bracelet or smart glasses, etc.) with a mutual transmission function. The second terminal 102 is any terminal with a mutual transmission function; for example, the second terminal 102 is a mobile phone, a tablet computer, a vehicle terminal, a wearable device (smart watch, smart bracelet or smart glasses, etc.) with a mutual transmission function.

[0040] Please refer to Figure 2 , which shows a flow chart of a data sharing method shown in an exemplary embodiment of the present application. The execution subject of the embodiment of the present application may be a first terminal. Figure 2 , the method comprising:

[0041] Step 201: In response to a DCP module of a first terminal detecting a data sharing broadcast of a second terminal and identity information of the second terminal meeting a data mutual transmission condition of the first terminal, waking up a mutual transmission service module of the first terminal.

[0042] The first terminal is a data receiving terminal, and the second terminal is a data sharing terminal; in response to the second terminal sharing data, the second terminal sends a data sharing broadcast through the DCP module, and the data sharing broadcast carries the identity information of the second terminal, and the identity information can be the phone information of the second terminal, etc. The format of the data sharing broadcast is the DCP protocol format, that is, the DCP modules can detect and identify the data sharing broadcast.

[0043] The DCP module of the first terminal detects the data sharing broadcast; in response to the DCP of the first terminal detecting the data sharing broadcast, the DCP of the first terminal verifies the identity information of the second terminal carried by the data sharing broadcast to verify whether the identity information of the second terminal meets the data mutual transmission condition of the first terminal; in response to the identity information of the second terminal meeting the data mutual transmission condition of the first terminal, the mutual transmission service module of the first terminal is awakened; in response to the identity information of the second terminal not meeting the data mutual transmission condition of the first terminal, the data sharing broadcast continues to be detected through the DCP module of the first terminal until a data sharing broadcast carrying the identity information of the second terminal that meets the data mutual transmission condition of the first terminal is detected.

[0044] In some embodiments, before this step, it is necessary to register the data transmission conditions of the first terminal in the DCP module of the first terminal. This process can be implemented by the following steps (1) and (2), including:

[0045] (1) Detecting a setting operation through the data transmission service module of the first terminal, where the setting operation is used to set a data transmission condition.

[0046] The user of the first terminal can set the data transmission conditions through the setting interface; accordingly, the setting operation is detected through the mutual transmission service module of the first terminal, and in response to the setting operation, the first terminal displays the setting interface, and the setting interface displays multiple mutual transmission modes; in response to any mutual transmission mode being triggered, the data transmission conditions corresponding to the triggered mutual transmission mode are obtained.

[0047] Multiple transfer modes include contact mode and owner mode; contact mode means that data can be transferred between the data sharing end and the data sharing end only when the identity information of the data sharing end is in the contact list of the data receiving end; accordingly, the data transfer condition corresponding to the contact mode is that the data sharing end can only transfer data if it is a contact person of the data receiving end. Owner mode means that any data sharing end can transfer data with the data receiving end; accordingly, the data transfer condition corresponding to the owner mode is that everyone can transfer data.

[0048] Multiple mutual transmission modes also include shared same account mode and other modes; shared same account mode means that the data sharing end can only transmit data to the data receiving end when the data sharing end logs in to the same account as the data receiving end; accordingly, the data mutual transmission condition corresponding to the shared same account mode is that the data mutual transmission condition can be that data can be transmitted between two terminals logged in to the same account. Other modes refer to modes other than contact mode, owner mode and shared same account mode; for example, other modes can be group mode or intimacy mode; group mode means that the data sharing end can only transmit data to the data receiving end when the data sharing end and the data receiving end are in the same group; accordingly, the data mutual transmission condition corresponding to the group mode can be that data can be transmitted between two terminals in the same group. Intimacy mode means that the data sharing end can only transmit data to the data receiving end when the intimacy between the data sharing end and the data receiving end exceeds a preset value; accordingly, the data mutual transmission condition corresponding to the intimacy mode can be that data can be transmitted between two terminals when the intimacy exceeds a preset value.

[0049] In some embodiments, the above multiple mutual transmission modes and other modes are only examples and do not limit the multiple mutual transmission modes and other modes.

[0050] (2) Registering data mutual transmission conditions with the DCP module of the first terminal through the mutual transmission service module of the first terminal.

[0051] After the mutual transmission service module of the first terminal obtains the data mutual transmission conditions, it sends a registration message to the DCP module of the first terminal, and the registration message carries the data mutual transmission conditions; the DCP module of the first terminal receives the registration message sent by the mutual transmission service module, registers and stores the data mutual transmission conditions.

[0052] In the embodiment of the present application, the triggered mutual transmission mode is taken as the contact mode for explanation; accordingly, the step of the DCP of the first terminal verifying the identity information of the second terminal carried by the data sharing broadcast may be: through the DCP module of the first terminal, based on the identity information of the second terminal and the contact list of the first terminal, the second terminal is matched with the contact; when the identity information of the second terminal is in the contact list of the first terminal, it is determined that the identity information of the second terminal meets the data mutual transmission condition of the first terminal; when the identity information of the second terminal is not in the contact list of the first terminal, it is determined that the identity information of the second terminal does not meet the data mutual transmission condition of the first terminal.

[0053] In response to the first terminal having no data transmission demand, the mutual transmission service module of the first terminal is in a sleep state to save power consumption of the first terminal; in response to the DCP module of the first terminal detecting the data sharing broadcast of the second terminal and the identity information of the second terminal meeting the data transmission condition of the first terminal, it is determined that there is a data transmission demand, and at this time, the DCP module of the first terminal sends a first wake-up instruction to the mutual transmission service module of the first terminal to wake up the mutual transmission service module of the first terminal.

[0054] In an embodiment of the present application, in response to the existence of a data mutual transmission demand, the DCP module of the first terminal wakes up the mutual transmission service module of the first terminal, and the awakening process is imperceptible to the user and does not require user operation; therefore, for the user, the mutual transmission service module of the first terminal is in a normally-on state, so that the present application can indirectly realize the mutual transmission normally-on function based on the DCP module.

[0055] Step 202: Data is shared between the first terminal and the second terminal through the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal.

[0056] In response to the second terminal sending a data sharing broadcast, the mutual transmission service module of the second terminal is in an on state; and at this time, the mutual transmission service module of the first terminal is also in an on state; therefore, the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal can share data; for example, through the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal, the first terminal receives the data shared by the second terminal; for another example, through the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal, the first terminal shares data with the second terminal. The shared data can be data in any format such as pictures, videos or files.

[0057] In an embodiment of the present application, in response to the absence of a demand for mutual data transmission, the mutual transmission service module of the first terminal is in a dormant state, and at this time, the DCP module of the first terminal detects whether there is a demand for mutual data transmission; in response to the DCP module of the first terminal detecting the presence of a demand for mutual data transmission, the DCP module of the first terminal wakes up the mutual transmission service module of the first terminal to perform a subsequent mutual data transmission process, and the wake-up process is imperceptible to the user and does not require user operation; therefore, for the user, the mutual transmission service module of the first terminal is in a normally-on state, so that the present application can indirectly realize the mutual transmission normally-on function based on the DCP module.

[0058] Please refer to Figure 3 , which shows a flow chart of a data sharing method shown in an exemplary embodiment of the present application. Figure 3 , the method comprising:

[0059] Step 301: In response to a data sharing demand of a second terminal, wake up a mutual transmission service module of the second terminal.

[0060] In response to the second terminal not having a data sharing demand, the mutual transmission service module of the second terminal is in a dormant state; in response to the second terminal having a data sharing demand, the mutual transmission service module of the second terminal is awakened, and the awakening process is imperceptible to the user and does not require user operation; therefore, for the user, the mutual transmission service module of the second terminal is in a normally open state, so that the present application can indirectly realize the mutual transmission normally open function. The DCP module of the second terminal sends a second wake-up instruction to the mutual transmission service module of the second terminal to wake up the mutual transmission service module of the second terminal.

[0061] In some embodiments, the step for the second terminal to determine whether there is a data sharing demand may be: in response to the data to be shared being selected, displaying a sharing interface, the sharing interface including a mutual sharing button; in response to the mutual sharing button being triggered, determining that the second terminal has a data sharing demand.

[0062] In the related art, in response to a user wanting to share data by means of data mutual transmission, the user needs to first find the switch of the mutual transmission function through the setting interface, then manually turn on the switch of the mutual transmission function, and then select the data to be shared. It can be seen that this process is very cumbersome, resulting in low efficiency of data sharing. In the embodiment of the present application, a mutual transmission sharing button is added to the sharing interface; in this way, the user can click the data sharing button to determine that the data is shared by means of data mutual transmission, thereby improving the efficiency of data sharing.

[0063] Step 302: Send a notification message to the DCP module of the second terminal through the mutual transmission service module of the second terminal.

[0064] The notification message is used to notify the DCP module of the second terminal to send a data sharing broadcast, and the notification message carries the identity information of the second terminal. After receiving the notification message, the DCP module of the second terminal executes step 303.

[0065] Step 303: Send a data sharing broadcast based on the notification message through the DCP module of the second terminal, so that the DCP module of the first terminal responds to detecting the data sharing broadcast and the identity information of the second terminal meets the data mutual transmission condition of the first terminal, and wakes up the mutual transmission service module of the first terminal.

[0066] After the first terminal wakes up the mutual transmission service module of the first terminal, the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal will interact with each other in sharing broadcast to establish a mutual transmission channel, and then in step 304, data sharing is performed based on the mutual transmission channel.

[0067] Step 304: Data is shared between the first terminal and the second terminal through the mutual transmission service module of the second terminal and the mutual transmission service module of the first terminal.

[0068] In step 301, the mutual transmission service module of the second terminal is enabled; in step 303, the first terminal also enables the mutual transmission service module of the first terminal; therefore, the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal can share data; for example, through the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal, the first terminal receives the data shared by the second terminal; for another example, through the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal, the first terminal shares data with the second terminal. The shared data can be data in any format such as pictures, videos or files.

[0069] In an embodiment of the present application, in response to the absence of data sharing demand on the second terminal, the mutual transmission service module of the second terminal is in a dormant state; in response to the presence of data sharing demand on the second terminal, the mutual transmission service module of the second terminal is awakened, and the awakening process is imperceptible to the user and does not require user operation; therefore, for the user, the mutual transmission service module of the second terminal is in a normally-on state, so that the present application can indirectly realize the mutual transmission normally-on function.

[0070] The DCP module of the first terminal includes a DCP service and a DCP low-power service module (for example, DCP Nanoapp); when the first terminal is in a screen-on state, the DCP service is in a running state; when the first terminal is in a screen-off state, the DCP service is in a dormant state, and the DCP low-power service module is in a running state. Therefore, when the first terminal is in a screen-on state, the DCP service is used to detect data sharing broadcasts and verify the identity information of the second terminal; and when the first terminal is in a screen-off state, the DCP low-power service module is used to detect data sharing broadcasts, and in response to detecting data sharing broadcasts, the DCP service is awakened, and the DCP service verifies the identity information of the second terminal.

[0071] Please refer to Figure 4 , which shows a flow chart of a data sharing method shown in an exemplary embodiment of the present application. In the embodiment of the present application, the first terminal is in a bright screen state as an example for explanation. Figure 4 , the method comprising:

[0072] Step 401: In response to a data sharing demand of a second terminal, the second terminal wakes up a mutual transmission service module.

[0073] In some embodiments, this step is the same as step 301 and will not be described again. The second terminal includes an inter-transmission service module and a DCP module, and the DCP module includes a DCP service and a DCP low-power module; since the second terminal is in a bright screen state when the user selects the shared data to trigger data sharing, the subsequent steps are performed through the DCP service at this time, that is, the DCP module of the second terminal in the embodiment of the present application refers to the DCP service.

[0074] Step 402: The mutual transmission service module of the second terminal sends a notification message to the DCP module of the second terminal.

[0075] For example, see Figure 5 In response to the user of the second terminal choosing to use the mutual transmission function to share, the mutual transmission service module of the second terminal is turned on, and the mutual transmission service module of the second terminal sends a notification message to the DCP service. The notification message is used to notify the DCP module of the second terminal to send a data sharing broadcast, and the notification message carries the identity information of the second terminal.

[0076] Step 403: The DCP module of the second terminal sends a data sharing broadcast based on the notification message.

[0077] For example, please refer to Figure 5 The DCP service of the second terminal receives the notification message, and based on the identity information of the second terminal carried in the notification message, sends a data sharing broadcast, where the data sharing broadcast carries the identity information of the second terminal.

[0078] Step 404: When the first terminal is in a screen-on state, the DCP service in the DCP module of the first terminal detects the data sharing broadcast and verifies the identity information of the second terminal.

[0079] Wherein, the DCP service is in a running state in the bright screen state. In some embodiments, this step is the same as step 201 and will not be repeated here.

[0080] Step 405: In response to the DCP service of the first terminal detecting the data sharing broadcast of the second terminal and the identity information of the second terminal meeting the data mutual transmission condition of the first terminal, waking up the mutual transmission service module of the first terminal.

[0081] For example, see Figure 5, the user of the first terminal selects the contact mode through the mutual transmission service module of the first terminal, the mutual transmission service module notifies the DCP service to start the contact mode scan, and the DCP service notifies the DCP low-power service module to start the contact mode scan in the off-screen state. When the first terminal is in the bright screen state, in response to the DCP service of the first terminal scanning the data sharing broadcast broadcasted by the DCP module of the second terminal, the contact is matched based on the identity information of the second terminal carried in the data sharing broadcast and the contact list of the first terminal; when the identity information of the second terminal is in the contact list of the first terminal, it means that the contact is matched successfully. At this time, the DCP service of the first terminal sends a first wake-up instruction to the mutual transmission service module of the first terminal to wake up the mutual transmission service module of the first terminal.

[0082] Step 406: Data is shared between the first terminal and the second terminal through the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal.

[0083] This step can be achieved by following the steps (1) to (7), including:

[0084] (1) The mutual transmission service module of the first terminal sends a mutual transmission broadcast.

[0085] The mutual transmission broadcast carries the identity information of the first terminal. In the case where the mutual transmission service module is OShare, the mutual transmission broadcast can be an OShare broadcast, so that the mutual transmission service modules can detect and identify the mutual transmission instruction. In an embodiment of the present application, in response to the user of the first terminal selecting the contact mode, the mutual transmission service module of the first terminal does not continue to send discoverable OShare broadcasts; instead, when there is a first terminal with the same contact sharing data externally, and the DCP service of the first terminal verifies that it is a contact device, the DCP service of the first terminal will notify the mutual transmission service module to send a discoverable OShare broadcast.

[0086] In some embodiments, since the complexity of detecting and identifying the mutual transmission broadcast (OShare broadcast) is higher than the complexity of detecting and identifying the data sharing broadcast; therefore, the data sharing broadcast is first detected and identified by the DCP module, and in response to determining that there is a data mutual transmission demand, the mutual transmission service module is enabled to detect and identify the mutual transmission broadcast, thereby saving the computing resources and power consumption of the first terminal. For example, please continue to refer to Figure 5 , the mutual transmission service module of the first terminal sends a mutual transmission broadcast.

[0087] (2) The mutual transmission service module of the second terminal receives the mutual transmission broadcast, and based on the mutual transmission broadcast, determines the mutual transmission service module of the first terminal as a data receiving end.

[0088] After receiving the mutual transmission broadcast, the second terminal displays a first prompt interface, which displays the identity information of the first terminal and a confirmation button; in response to the confirmation button being triggered, the second terminal determines the mutual transmission service module of the first terminal as the data receiving end.

[0089] In some embodiments, the number of first terminals can be multiple; accordingly, the first prompt interface displays the identity information of multiple first terminals and confirmation buttons, and the user of the second terminal can select the identity information of a first terminal from the identity information of multiple first terminals, and then click the confirmation button; in response to the confirmation button being triggered, the second terminal obtains the first terminal with the selected identity information and determines the mutual transmission service module of the first terminal as the data receiving end. For example, please continue to refer to Figure 5 , the user of the second terminal selects a data receiving end based on the received mutual transmission broadcast.

[0090] (3) The mutual transmission service module of the second terminal establishes a mutual transmission channel with the mutual transmission service module of the first terminal based on the mutual transmission broadcast.

[0091] (4) The mutual transmission service module of the second terminal sends summary information of the shared data to the mutual transmission service module of the first terminal through the mutual transmission channel.

[0092] In response to the shared data being a file, the summary information of the shared data may be file information of the file; for example, please continue to refer to Figure 5 , the mutual transmission service module of the second terminal sends the file information to the mutual transmission service module of the first terminal.

[0093] (5) The mutual transmission service module of the first terminal receives summary information of the shared data sent by the second terminal based on the mutual transmission channel.

[0094] The first terminal displays a second prompt interface, which displays summary information of the shared data, a receive button and a cancel button; in response to the user of the first terminal wanting to receive the data shared by the second terminal, the user of the first terminal can trigger the receive button, at which time the first terminal determines that a confirmation operation on the summary information is detected and performs a subsequent receiving process; in response to the user of the first terminal not wanting to receive the data shared by the second terminal, the user of the first terminal can trigger the cancel button, at which time the subsequent receiving process is not performed.

[0095] (6) In response to detecting a confirmation operation on the summary information, the mutual transmission service module of the first terminal sends a confirmation instruction to the mutual transmission service module of the second terminal through the mutual transmission channel.

[0096] (7) The mutual transmission service module of the second terminal receives the confirmation instruction, and based on the confirmation instruction, sends the shared data to the mutual transmission service module of the first terminal through the mutual transmission channel.

[0097] For example, please refer to Figure 5 , the first terminal pops up a file receiving notification, and in response to the user of the first terminal agreeing to receive the file, the file receiving process is entered.

[0098] In an embodiment of the present application, in response to the absence of a demand for mutual data transmission, the mutual transmission service module of the first terminal is in a dormant state, and at this time, the DCP module of the first terminal detects whether there is a demand for mutual data transmission; in response to the DCP module of the first terminal detecting the presence of a demand for mutual data transmission, the DCP module of the first terminal wakes up the mutual transmission service module of the first terminal, and the wake-up process is imperceptible to the user and does not require user operation; therefore, for the user, the mutual transmission service module of the first terminal is in a normally-on state, so that the present application can indirectly realize the mutual transmission normally-on function based on the DCP module.

[0099] The DCP module of the first terminal includes a DCP service and a DCP low-power service module; when the first terminal is in the screen-on state, the DCP service is in the running state; when the first terminal is in the screen-off state, the DCP service is in the dormant state, and the DCP low-power service module is in the running state. Therefore, when the first terminal is in the screen-on state, the DCP service is used to detect data sharing broadcasts and verify the identity information of the second terminal; and when the first terminal is in the screen-off state, the DCP low-power service module is used to detect data sharing broadcasts, and in response to detecting data sharing broadcasts, the DCP service is awakened, and the identity information of the second terminal is verified by the DCP service.

[0100] Please refer to Figure 6 , which shows a flow chart of a data sharing method shown in an exemplary embodiment of the present application. In the embodiment of the present application, the first terminal is in a screen-off state as an example for explanation. Figure 6 , the method comprising:

[0101] Step 601: In response to a data sharing demand of a second terminal, the second terminal wakes up a mutual transmission service module.

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

[0103] Step 602: The mutual transmission service module of the second terminal sends a notification message to the DCP module of the second terminal.

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

[0105] Step 603: The DCP module of the second terminal sends a data sharing broadcast based on the notification message.

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

[0107] Step 604: When the first terminal is in a screen-off state, the DCP low-power service module in the DCP module of the first terminal detects the data sharing broadcast.

[0108] The DCP low-power service module is in the running state when the screen is off; while the DCP service is in the dormant state when the screen is off. In some embodiments, after the DCP low-power service module detects the data sharing broadcast, it can directly wake up the DCP service in the DCP module; or it can first verify the validity of the identity information of the second terminal carried by the data sharing broadcast through step 605; in response to the validity verification, the DCP service in the DCP module is woken up. Since the operating power consumption of the DCP low-power service module is lower than the operating power consumption of the DCP service; therefore, the identity information of the second terminal is first verified through the DCP low-power service module, and the DCP service is woken up in response to the validity verification, thereby reducing the situation of false wake-up and saving the power consumption of the first terminal.

[0109] Step 605: In response to the DCP low power consumption service module detecting the data sharing broadcast, the first terminal verifies the validity of the identity information carried in the data sharing broadcast through the DCP low power consumption service module.

[0110] The first terminal determines whether the format of the identity information conforms to the preset format through the DCP low-power service module; if the identity information conforms to the preset format, the identity information is determined to be valid; if the identity information does not conform to the preset format, the identity information is determined to be invalid. For example, if the identity information is the phone information of the second terminal, the first terminal determines whether the phone information of the second terminal is an 11-digit number; if the phone information of the second terminal is an 11-digit number, the phone information is determined to be valid; if the phone information of the second terminal is not an 11-digit number, the phone information is determined to be invalid.

[0111] In some embodiments, when the identity information carried by the verified data sharing broadcast is valid, step 606 is executed; when the identity information carried by the verified data sharing broadcast is invalid, the data sharing broadcast is discarded, and then other data sharing broadcasts are continuously detected.

[0112] Step 606: When verifying that the identity information carried in the data sharing broadcast is valid, the DCP low power consumption service module in the first terminal wakes up the DCP service.

[0113] For example, please refer to Figure 5After the DCP low-power service module detects the data sharing broadcast, it verifies the validity of the telephone information carried by the data sharing broadcast; when the telephone information carried by the data sharing broadcast is verified to be valid, the DCP service is awakened.

[0114] Step 607: The first terminal verifies the identity information of the second terminal through the DCP service.

[0115] The DCP low power consumption service module is in operation when the screen is off, and the DCP service is in sleep mode when the screen is off. The process of the first terminal verifying the identity information of the second terminal through the DCP service can refer to step 201, which will not be repeated here. Figure 5 The DCP service performs contact matching based on the identity information of the second terminal and the contact list of the first terminal; when the identity information of the second terminal is in the contact list of the first terminal, it indicates that the contact matching is successful. At this time, the DCP service of the first terminal sends a first wake-up instruction to the mutual transmission service module of the first terminal to wake up the mutual transmission service module of the first terminal.

[0116] Step 608: In response to the DCP service of the first terminal detecting the data sharing broadcast of the second terminal and the identity information of the second terminal meeting the data mutual transmission condition of the first terminal, the first terminal wakes up the mutual transmission service module.

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

[0118] Step 609: The first terminal shares data between the first terminal and the second terminal through the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal.

[0119] In some embodiments, this step is the same as step 406 and will not be described in detail here. Figure 5 , the mutual transmission service module of the first terminal sends a mutual transmission broadcast; the user of the second terminal selects a data receiving end based on the received mutual transmission broadcast; the mutual transmission service module of the second terminal sends file information to the mutual transmission service module of the first terminal; the first terminal pops up a file reception notification, and in response to the user of the first terminal agreeing to receive the file, enters the file receiving process.

[0120] In the embodiment of the present application, when the first terminal is in the screen-off state, the scanning capability of the DCP low-power service module is utilized to achieve the normal operation of the mutual transmission function without increasing power consumption.

[0121] Please refer to Figure 7 , which shows a data sharing device shown in an exemplary embodiment of the present application, applied to a first terminal, and the device includes:

[0122] The first activation module 701 is configured to wake up the data sharing service module of the first terminal in response to the distributed information synchronization platform DCP module of the first terminal detecting the data sharing broadcast of the second terminal and the identity information of the second terminal meeting the data mutual transmission condition of the first terminal;

[0123] The first sharing module 702 is used to share data between the first terminal and the second terminal through the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal.

[0124] In some embodiments, the first start module 701 is used to detect the data sharing broadcast and verify the identity information of the second terminal through the DCP service in the DCP module of the first terminal when the first terminal is in a bright screen state; in response to the DCP service detecting the data sharing broadcast of the second terminal and the identity information of the second terminal meeting the data mutual transmission condition of the first terminal, wake up the mutual transmission service module of the first terminal;

[0125] Among them, the DCP service is in running state when the screen is on.

[0126] In some embodiments, the first opening module 701 is used to detect the data sharing broadcast through the DCP low-power consumption service module in the DCP module of the first terminal when the first terminal is in a screen-off state; in response to the DCP low-power consumption service module detecting the data sharing broadcast, wake up the DCP service in the DCP module, and verify the identity information of the second terminal through the DCP service; in response to the DCP service verifying that the identity information of the second terminal meets the data mutual transmission condition of the first terminal, wake up the mutual transmission service module of the first terminal;

[0127] Among them, the DCP low-power service module is in running state when the screen is off, and the DCP service is in sleeping state when the screen is off.

[0128] In some embodiments, the first activation module 701 is used to verify the validity of the identity information carried by the data sharing broadcast through the DCP low power consumption service module; when the identity information carried by the data sharing broadcast is verified to be valid, the DCP service in the DCP module is awakened.

[0129] In some embodiments, the data sharing broadcast carries the identity information of the second terminal; the first opening module 701 is also used to match the contacts of the second terminal through the DCP module of the first terminal based on the identity information of the second terminal and the contact list of the first terminal; when the identity information of the second terminal is in the contact list of the first terminal, it is determined that the identity information of the second terminal meets the data transmission conditions of the first terminal.

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

[0131] The registration module is used to detect a setting operation through the mutual transmission service module of the first terminal, and the setting operation is used to set the data mutual transmission condition; through the mutual transmission service module of the first terminal, the data mutual transmission condition is registered with the DCP module of the first terminal.

[0132] In some embodiments, the first sharing module 702 is used for the mutual transmission service module of the first terminal to send mutual transmission broadcast so that the mutual transmission service module of the second terminal establishes a mutual transmission channel with the mutual transmission service module of the first terminal based on the mutual transmission broadcast; and receives data shared by the second terminal based on the mutual transmission channel.

[0133] In some embodiments, the first sharing module 702 is used to receive summary information of the shared data sent by the second terminal based on the mutual transmission channel; in response to detecting a confirmation operation on the summary information, a confirmation instruction is sent to the mutual transmission service module of the second terminal through the mutual transmission channel, so that the second terminal shares the data with the terminal based on the confirmation instruction.

[0134] In an embodiment of the present application, in response to the absence of a demand for mutual data transmission, the mutual transmission service module of the first terminal is in a dormant state, and at this time, the DCP module of the first terminal detects whether there is a demand for mutual data transmission; in response to the DCP module of the first terminal detecting the presence of a demand for mutual data transmission, the DCP module of the first terminal wakes up the mutual transmission service module of the first terminal, and the wake-up process is imperceptible to the user and does not require user operation; therefore, for the user, the mutual transmission service module of the first terminal is in a normally-on state, so that the present application can indirectly realize the mutual transmission normally-on function based on the DCP module.

[0135] It should be noted that the data sharing device provided in the above embodiment only uses the division of the above functional modules as an example when performing data sharing. 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 data sharing device provided in the above embodiment and the data sharing method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0136] Please refer to Figure 8 , which shows a data sharing device shown in an exemplary embodiment of the present application, applied to a second terminal, and the device includes:

[0137] The second activation module 801 is used to wake up the mutual transmission service module of the second terminal in response to the second terminal having a data sharing demand;

[0138] A sending module 802, configured to send a notification message to a DCP module of the second terminal through the mutual transmission service module of the second terminal;

[0139] The broadcast module 803 is configured to send a data sharing broadcast based on a notification message through the DCP module of the second terminal, so that the DCP module of the first terminal wakes up the mutual transmission service module of the first terminal in response to detecting the data sharing broadcast and the identity information of the second terminal meets the data mutual transmission condition of the first terminal;

[0140] The second sharing module 804 is used to share data between the first terminal and the second terminal through the mutual transmission service module of the second terminal and the mutual transmission service module of the first terminal.

[0141] In some embodiments, the second sharing module 804 is used to receive the mutual transmission broadcast of the mutual transmission business module of the first terminal through the mutual transmission business module of the second terminal; based on the mutual transmission broadcast, determine the mutual transmission business module of the first terminal as the receiving end; and send the shared data to the receiving end.

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

[0143] A display module, configured to display a sharing interface in response to the data to be shared being selected, wherein the sharing interface includes a mutual sharing button;

[0144] The determination module is configured to determine, in response to the mutual sharing button being triggered, whether the second terminal has a data sharing demand.

[0145] In an embodiment of the present application, in response to the absence of data sharing demand on the second terminal, the mutual transmission service module of the second terminal is in a dormant state; in response to the presence of data sharing demand on the second terminal, the mutual transmission service module of the second terminal is awakened, and the awakening process is imperceptible to the user and does not require user operation; therefore, for the user, the mutual transmission service module of the second terminal is in a normally-on state, so that the present application can indirectly realize the mutual transmission normally-on function.

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

[0147] Please refer to Fig. 9, which shows a block diagram of a terminal 900 shown in an exemplary embodiment of the present application. The terminal 900 may be a first terminal or a second terminal; the terminal 900 in the present application may include one or more of the following components: a DCP module 910, a processor 920, a memory 930, and a display screen 940.

[0148] The DCP module 910 of the first terminal is used to detect the data sharing broadcast and verify the identity information of the second terminal; the DCP module of the second terminal is used to send the data sharing broadcast. The processor 920 may include one or more processing cores. The processor 920 uses various interfaces and lines to connect various parts of the entire terminal 900, and executes various functions and processes data of the terminal 900 by running or executing instructions, programs, code sets or instruction sets stored in the memory 930, and calling data stored in the memory 930. Optionally, the processor 920 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 920 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, NPU) and a modem. The CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen 940; 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 920, but may be implemented separately through a computer program product.

[0149] The memory 930 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 930 includes a non-transitory computer-readable storage medium. The memory 930 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 930 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 created according to the use of the terminal 900 (such as audio data, a phone book), etc.

[0150] The display screen 940 is a display component for displaying a user interface. Optionally, the display screen 940 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 940.

[0151] The display screen 940 is usually arranged on the front panel of the terminal 900. The display screen 940 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 940 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.

[0152] In addition, those skilled in the art can understand that the structure of the terminal 900 shown in the above drawings does not constitute a limitation on the terminal 900, and the terminal 900 may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the terminal 900 also includes a wireless fidelity (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 are not described in detail here.

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

[0154] 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 data sharing method shown in the above embodiments.

[0155] In some embodiments, the computer program product involved in the embodiments of the present application may be deployed and executed on one terminal, or on multiple terminals located at one location, or 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.

[0156] 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.

[0157] 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 data sharing method, applied to a first terminal, characterized in that: The method comprises: In response to the distributed information synchronization platform DCP module of the first terminal detecting the data sharing broadcast of the second terminal and the identity information of the second terminal meeting the data mutual transmission condition of the first terminal, waking up the mutual transmission service module of the first terminal; Data is shared between the first terminal and the second terminal through the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal.

2. The method according to claim 1, characterized in that In response to the distributed information synchronization platform DCP module of the first terminal detecting the data sharing broadcast of the second terminal and the identity information of the second terminal meeting the data mutual transmission condition of the first terminal, waking up the mutual transmission service module of the first terminal includes: When the first terminal is in a screen-on state, detecting the data sharing broadcast and verifying the identity information of the second terminal through the DCP service in the DCP module of the first terminal; In response to the DCP service detecting a data sharing broadcast of a second terminal and the identity information of the second terminal meeting a data mutual transmission condition of the first terminal, waking up a mutual transmission service module of the first terminal; The DCP service is in operation when the screen is on.

3. The method according to claim 1, characterized in that In response to the distributed information synchronization platform DCP module of the first terminal detecting the data sharing broadcast of the second terminal and the identity information of the second terminal meeting the data mutual transmission condition of the first terminal, waking up the mutual transmission service module of the first terminal includes: When the first terminal is in a screen-off state, detecting the data sharing broadcast through a DCP low-power service module in a DCP module of the first terminal; In response to the DCP low power consumption service module detecting the data sharing broadcast, waking up the DCP service in the DCP module, and verifying the identity information of the second terminal through the DCP service; In response to the DCP service verifying that the identity information of the second terminal meets the data mutual transmission condition of the first terminal, waking up the mutual transmission service module of the first terminal; Among them, the DCP low-power service module is in a running state when the screen is off, and the DCP service is in a sleeping state when the screen is off.

4. The method according to claim 3, characterized in that The waking up the DCP service in the DCP module includes: Verifying the validity of the identity information carried by the data sharing broadcast through the DCP low-power service module; When verifying that the identity information carried by the data sharing broadcast is valid, the DCP service in the DCP module is awakened.

5. The method according to claim 1, characterized in that The data sharing broadcast carries the identity information of the second terminal; and the method further includes: Performing contact matching on the second terminal based on the identity information of the second terminal and the contact list of the first terminal by the DCP module of the first terminal; In a case where the identity information of the second terminal is in the contact list of the first terminal, it is determined that the identity information of the second terminal meets the data mutual transmission condition of the first terminal.

6. The method according to claim 1 or 5, characterized in that: The method further comprises: Detecting a setting operation through the mutual transmission service module of the first terminal, wherein the setting operation is used to set the mutual data transmission condition; The data mutual transmission condition is registered with the DCP module of the first terminal through the mutual transmission service module of the first terminal.

7. The method according to claim 1, characterized in that The data sharing between the first terminal and the second terminal through the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal includes: The mutual transmission service module of the first terminal sends a mutual transmission broadcast, so that the mutual transmission service module of the second terminal establishes a mutual transmission channel with the mutual transmission service module of the first terminal based on the mutual transmission broadcast; The data shared by the second terminal is received based on the mutual transmission channel.

8. The method according to claim 7, characterized in that Before receiving the data shared by the second terminal based on the mutual transmission channel, the method further includes: receiving summary information of the shared data sent by the second terminal based on the mutual transmission channel; In response to detecting a confirmation operation on the summary information, a confirmation instruction is sent to the mutual transmission service module of the second terminal through the mutual transmission channel, so that the second terminal shares data with the first terminal based on the confirmation instruction.

9. A data sharing method, applied to a second terminal, characterized in that: The method comprises: In response to the second terminal having a data sharing demand, waking up an inter-transmission service module of the second terminal; Sending a notification message to the DCP module of the second terminal through the mutual transmission service module of the second terminal; Sending a data sharing broadcast based on the notification message through the DCP module of the second terminal, so that the DCP module of the first terminal wakes up the mutual transmission service module of the first terminal in response to detecting the data sharing broadcast and the identity information of the second terminal meets the data mutual transmission condition of the first terminal; Data is shared between the first terminal and the second terminal through the mutual transmission service module of the second terminal and the mutual transmission service module of the first terminal.

10. The method according to claim 9, characterized in that The data sharing between the first terminal and the second terminal through the mutual transmission service module of the second terminal and the mutual transmission service module of the first terminal includes: Receiving, through the mutual transmission service module of the second terminal, the mutual transmission broadcast of the mutual transmission service module of the first terminal; Based on the mutual transmission broadcast, determining the mutual transmission service module of the first terminal as a receiving end; The shared data is sent to the receiving end.

11. The method according to claim 9, characterized in that The method further comprises: In response to the data to be shared being selected, displaying a sharing interface, the sharing interface including a mutual sharing button; In response to the mutual sharing button being triggered, it is determined that the second terminal has a data sharing demand.

12. A data sharing device, applied to a first terminal, characterized in that: The device comprises: A first activation module, configured to wake up the data sharing service module of the first terminal in response to the distributed information synchronization platform DCP module of the first terminal detecting the data sharing broadcast of the second terminal and the identity information of the second terminal meeting the data mutual transmission condition of the first terminal; The first sharing module is used to share data between the first terminal and the second terminal through the mutual transmission service module of the first terminal and the mutual transmission service module of the second terminal.

13. A data sharing device, applied to a second terminal, characterized in that: The device comprises: A second activation module, configured to wake up the mutual transmission service module of the second terminal in response to a data sharing demand of the second terminal; A sending module, configured to send a notification message to the DCP module of the second terminal through the mutual transmission service module of the second terminal; a broadcast module, configured to send a data sharing broadcast based on the notification message through the DCP module of the second terminal, so that the DCP module of the first terminal wakes up the mutual transmission service module of the first terminal in response to detecting the data sharing broadcast and the identity information of the second terminal meets the data mutual transmission condition of the first terminal; The second sharing module is used to share data between the first terminal and the second terminal through the mutual transmission service module of the second terminal and the mutual transmission service module of the first terminal.

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

15. 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 data sharing method according to any one of claims 1 to 11.

16. 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 data sharing method according to any one of claims 1 to 11.