Sharing method, intelligent terminal and storage medium

CN119892825APending Publication Date: 2025-04-25SHANGHAI TRANSSION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510066253.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-04-25

Smart Images

  • Figure CN119892825A_ABST
    Figure CN119892825A_ABST
Patent Text Reader

Abstract

The invention provides a sharing method, an intelligent terminal and a storage medium, and the method comprises the steps: S10, receiving a file sharing request which comprises at least one first file and / or at least one target receiving equipment identifier; s20, according to the file sharing request, determining a first ad hoc network corresponding to the target receiving device identifier and a target sharing area corresponding to the first ad hoc network; and S30, sending the first file to the target sharing area, so that a plurality of receiving devices corresponding to the target receiving device identifier acquire at least one first file through the first ad hoc network. According to the technical scheme, the sending device sends the at least one first file to the first ad hoc network, so that a plurality of receiving devices accessing the first ad hoc network can acquire the first file from the first ad hoc network at the same time, and the file sharing efficiency is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data transmission, and in particular to a sharing method, an intelligent terminal and a storage medium. Background Art

[0002] With the development of short-range communication technologies such as Bluetooth and Wi-Fi direct communication, users can achieve data transmission between different devices without relying on traditional networks. In actual applications, the sending device selects a file and specifies a receiving device to initiate file sharing. The receiving device responds to the file sharing request and receives the file from the sending device through short-range communication technology.

[0003] In the process of conceiving and implementing the present application, the inventors discovered that there are at least the following problems: when a sending device shares files through near-field communication technology, only one receiving device can be specified at a time. For application scenarios with multiple receiving devices, the sending device needs to initiate file sharing multiple times, which results in low efficiency.

[0004] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the invention

[0005] In response to the above technical problems, the present application provides a sharing method, an intelligent terminal and a storage medium for improving the efficiency of file sharing.

[0006] This application provides a sharing method, including:

[0007] S10: receiving a file sharing request, where the file sharing request includes at least one first file and / or at least one target receiving device identifier;

[0008] S20: Determine, according to the file sharing request, a first ad hoc network corresponding to the target receiving device identifier and a target sharing area corresponding to the first ad hoc network;

[0009] S30: Send the first file to the target sharing area, so that the multiple receiving devices corresponding to the target receiving device identifier obtain at least one first file through the first ad hoc network.

[0010] Optionally, the S20 includes:

[0011] Determine a plurality of standby networks to be selected and a plurality of self-organizing network information corresponding to the plurality of standby networks to be selected, each piece of self-organizing network information including a plurality of identifications of receiving devices to be selected;

[0012] Determine, according to the plurality of self-organizing network information, whether the plurality of standby selected networks include a network to be selected, wherein the self-organizing network information corresponding to the network to be selected includes the target receiving device identifier;

[0013] If yes, determining the network to be selected as the first ad hoc network;

[0014] If not, the first ad hoc network is created according to the target receiving device identifier, and the first ad hoc network supports access of multiple target receiving devices corresponding to the target receiving device identifier.

[0015] Optionally, creating the first ad hoc network according to the target receiving device identifier includes:

[0016] Performing network scanning to obtain multiple network addresses corresponding to the target receiving device identification;

[0017] Determine the sending device identification and sending device address information of the sending device;

[0018] According to the target receiving device identifier, the sending device identifier, and the sending device address information, a self-organizing network request is determined, and the self-organizing network request is sent to the multiple network addresses respectively to create the first self-organizing network.

[0019] Optionally, the S30 includes:

[0020] Determining a target encryption algorithm corresponding to the first ad hoc network;

[0021] Encrypting the first file by using the target encryption algorithm to obtain at least one encrypted file;

[0022] The encrypted file is sent to the target sharing area.

[0023] Optionally, after S30, the method further includes:

[0024] S40: receiving a file update request, wherein the file update request includes an identifier of a file to be updated and an update rule;

[0025] S50: Determine the to-be-updated file corresponding to the to-be-updated file identifier from the first file;

[0026] S60: performing update processing on the file to be updated according to the update rule to obtain an updated file;

[0027] S70: Sending the update file and the identifier of the file to be updated to the target shared area, so as to replace the first file corresponding to the identifier of the file to be updated with the update file.

[0028] This application also provides a sharing method, including:

[0029] S1: receiving a file acquisition request, wherein the file acquisition request includes a second file identifier and a target network identifier;

[0030] S2: Accessing the second ad hoc network corresponding to the target network identifier according to the file acquisition request;

[0031] S3: Determine a target file corresponding to the second file identifier in the second ad hoc network, and obtain the target file.

[0032] Optionally, the S2 includes:

[0033] Determine the target authority information corresponding to the second ad hoc network and the current receiving device identifier of the receiving device;

[0034] The target authority information and the current receiving device identifier are sent to the second ad hoc network to access the second ad hoc network.

[0035] Optionally, the S3 includes:

[0036] Determine a file to be selected and file information corresponding to the file to be selected from the shared area of ​​the second ad hoc network;

[0037] Determine the target file from the candidate files according to the second file identifier and the file information;

[0038] The target file is marked as being in a downloading state until the download is completed, and the target file is downloaded to a preset area to obtain the target file.

[0039] The present application also provides a file sharing device, comprising:

[0040] A first receiving module, configured to receive a file sharing request, wherein the file sharing request includes at least one first file and / or at least one target receiving device identifier;

[0041] A determination module, configured to determine, according to the file sharing request, a first ad hoc network corresponding to the target receiving device identifier and a target sharing area corresponding to the first ad hoc network;

[0042] The sending module is used to send the first file to the target sharing area, so that the multiple receiving devices corresponding to the target receiving device identifier obtain at least one first file through the first self-organizing network.

[0043] Optionally, the determination module is used to determine a plurality of standby networks to be selected and a plurality of self-organizing network information corresponding to the plurality of standby networks to be selected, each piece of self-organizing network information including a plurality of to-be-selected receiving device identifiers;

[0044] The determination module is used to determine whether the multiple standby selected networks include a network to be selected based on the multiple self-organizing network information, and the self-organizing network information corresponding to the network to be selected includes the target receiving device identifier;

[0045] The determining module is configured to determine the network to be selected as the first self-organizing network if yes;

[0046] The determining module is configured to, if not, create the first ad hoc network according to the target receiving device identifier, wherein the first ad hoc network supports access of multiple target receiving devices corresponding to the target receiving device identifier.

[0047] Optionally, the determination module is used to perform network scanning to obtain multiple network addresses corresponding to the target receiving device identifier;

[0048] The determination module is used to determine the sending device identification and sending device address information of the sending device;

[0049] The determination module is used to determine the self-organizing network request according to the target receiving device identifier, the sending device identifier, and the sending device address information, and send the self-organizing network request to the multiple network addresses respectively to create the first self-organizing network.

[0050] Optionally, the device further comprises:

[0051] An encryption module, used to determine a target encryption algorithm corresponding to the first ad hoc network;

[0052] The encryption module is used to encrypt the first file using the target encryption algorithm to obtain at least one encrypted file;

[0053] The encryption module is used to send the encrypted file to the target sharing area.

[0054] Optionally, the device further comprises:

[0055] An update module, configured to receive a file update request, wherein the file update request includes an identifier of a file to be updated and an update rule;

[0056] The updating module is used to determine the to-be-updated file corresponding to the to-be-updated file identifier from the first file;

[0057] The updating module is used to update the file to be updated according to the updating rule to obtain an updated file;

[0058] The updating module is used to send the updating file and the identifier of the file to be updated to the target shared area, so as to replace the first file corresponding to the identifier of the file to be updated with the updating file.

[0059] The present application also provides a file sharing device, comprising:

[0060] A second receiving module, configured to receive a file acquisition request, wherein the file acquisition request includes a second file identifier and a target network identifier;

[0061] An access module, configured to access a second self-organizing network corresponding to the target network identifier according to the file acquisition request;

[0062] An acquisition module is used to determine a target file corresponding to the second file identifier from the second ad hoc network, and acquire the target file.

[0063] Optionally, the access module is used to determine the target authority information corresponding to the second ad hoc network and the current receiving device identifier of the receiving device;

[0064] The access module is used to send the target authority information and the current receiving device identifier to the second self-organizing network to access the second self-organizing network.

[0065] Optionally, the device further comprises:

[0066] A marking module, used to determine a to-be-selected file and file information corresponding to the to-be-selected file from the shared area of ​​the second ad hoc network;

[0067] The marking module is used to determine the target file from the candidate files according to the second file identifier and the file information;

[0068] The marking module is used to mark the target file as being in a downloading state until the download is completed, and download the target file to a preset area to obtain the target file.

[0069] The present application also provides an intelligent terminal, comprising: a memory and a processor, wherein a shared program is stored in the memory, and the steps of the above method are implemented when the shared program is executed by the processor.

[0070] The present application also provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0071] As described above, the sharing method of the present application includes: S10: receiving a file sharing request, the file sharing request including at least one first file and / or at least one target receiving device identifier; S20: determining the first self-organizing network corresponding to the target receiving device identifier and the target sharing area corresponding to the first self-organizing network according to the file sharing request; S30: sending the first file to the target sharing area, so that multiple receiving devices corresponding to the target receiving device identifier obtain at least one first file through the first self-organizing network. Through the above technical solution, the sending device sends at least one first file to the first self-organizing network, which can enable multiple receiving devices connected to the first self-organizing network to obtain the first file from the first self-organizing network at the same time, thereby effectively improving the efficiency of file sharing. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.

[0073] Figure 1 A schematic diagram of the hardware structure of a smart terminal for implementing various embodiments of the present application;

[0074] Figure 2 A communication network system architecture diagram provided for an embodiment of the present application;

[0075] Figure 3 It is a schematic diagram of an application scenario of a related sharing method;

[0076] Figure 4 is a schematic flow chart of a sharing method according to the first embodiment;

[0077] Figure 5 is a flow chart of step S20 of the sharing method according to the second embodiment;

[0078] Figure 6 is a schematic diagram of a first ad hoc network according to a second embodiment;

[0079] Figure 7 is a flow chart of step S30 of the sharing method according to the third embodiment;

[0080] Figure 8 is a schematic diagram of encryption processing according to the third embodiment;

[0081] Fig. 9is a schematic flow chart of a sharing method according to a third embodiment;

[0082] Fig.10 is a schematic structural diagram of a file sharing device according to a fifth embodiment;

[0083] Fig.11 It is a schematic diagram of the structure of a file sharing device according to the sixth embodiment.

[0084] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The above-mentioned drawings have shown clear embodiments of this application, which will be described in more detail later. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0085] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0086] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0087] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising" and "including" indicate that there are the described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or", "and / or", "including at least one of the following" etc. used in this application can be interpreted as inclusive, or mean any one or any combination. For example, “comprising at least one of the following: A, B, C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”, and for another example, “A, B or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. An exception to this definition will only occur when a combination of elements, functions, steps or operations are inherently mutually exclusive in some manner.

[0088] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0089] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0090] It should be noted that in this article, step codes such as S10 and S20 are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S20 first and then S10, etc., but these should all be within the scope of protection of this application.

[0091] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0092] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0093] The smart terminal may be implemented in various forms. For example, the smart terminal described in this application may include smart terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.

[0094] The subsequent description will be illustrated by taking a smart terminal as an example, and those skilled in the art will understand that, in addition to components specifically used for mobile purposes, the construction according to the embodiments of the present application can also be applied to fixed-type terminals.

[0095] See also Figure 1 , which is a schematic diagram of the hardware structure of a smart terminal for implementing various embodiments of the present application, the smart terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, power supply 111 and other components. Those skilled in the art can understand that Figure 1 The structure of the smart terminal shown in the figure does not constitute a limitation on the smart terminal. The smart terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0096] Combine the following Figure 1 A detailed introduction to each component of the smart terminal:

[0097] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communications can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution), 5G and 6G, etc.

[0098] WiFi is a short-range wireless transmission technology. The smart terminal can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not a necessary component of the smart terminal and can be omitted as needed without changing the essence of the invention.

[0099] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the smart terminal 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the smart terminal 100 (for example, a call signal receiving sound, a message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0100] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.

[0101] The smart terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the smart terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can also be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0102] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0103] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the intelligent terminal. Optionally, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Optionally, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071, the user input unit 107 may further include other input devices 1072. Optionally, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.

[0104] Optionally, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. Then, the processor 110 provides corresponding visual output on the display panel 1061 according to the type of touch event. Figure 1 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the smart terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the smart terminal, which is not limited here.

[0105] The interface unit 108 is used as an interface through which at least one external device can be connected to the smart terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the smart terminal 100 or may be used to transmit data between the smart terminal 100 and an external device.

[0106] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area. Optionally, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0107] The processor 110 is the control center of the smart terminal. It uses various interfaces and lines to connect various parts of the entire smart terminal. It executes various functions of the smart terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the smart terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. Optionally, the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.

[0108] The intelligent terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.

[0109] although Figure 1 Not shown, the smart terminal 100 may also include a Bluetooth module, etc., which will not be described in detail here.

[0110] To facilitate understanding of the embodiments of the present application, the communication network system on which the smart terminal of the present application is based is described below.

[0111] See also Figure 2 , Figure 2 A communication network system architecture diagram is provided for an embodiment of the present application, wherein the communication network system is an LTE system of universal mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are connected in sequence for communication.

[0112] Optionally, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.

[0113] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 , etc. Optionally, eNodeB 2021 may be connected to other eNodeBs 2022 via a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 may provide UE 201 with access to EPC 203 .

[0114] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, PGW (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function) 2036, etc. Optionally, MME 2031 is a control node that processes signaling between UE 201 and EPC 203, and provides bearer and connection management. HSS 2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and store some user-specific information such as service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions for UE 201, PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).

[0115] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.

[0116] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present application is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, 5G and future new network systems (such as 6G), etc., without limitation here.

[0117] Optionally, in the present application, the LTE system is used to assist the short-distance communication system, which includes but is not limited to Bluetooth or Wi-Fi direct communication systems. By assisting the short-distance communication system with the LTE system, the coverage of file sharing can be expanded and the file transmission scheme can be enriched, thereby improving the reliability of file sharing.

[0118] Based on the above-mentioned smart terminal hardware structure and communication network system, various embodiments of the present application are proposed.

[0119] In some embodiments, the sending device is the device from which the file originates, and the receiving device is the device from which the file is received. The sending device may generate a device list based on the receiving devices within the communication range, and display the device list on the user interface. The user selects a file and selects a designated receiving device from the device list to initiate a file sharing request. The receiving device responds to the file sharing request and stores the file of the sending device in a preset area to achieve file sharing.

[0120] Figure 3 The figure is a schematic diagram of an application scenario of a related sharing method.

[0121] See also Figure 3 After the user selects a file in the user interface 301 of the sending device, he selects a receiving device in the device list to initiate a file sharing request. The corresponding receiving device will display the file sharing request, and the user can store the file in the preset area by selecting to accept the file sharing request on the receiving device.

[0122] However, in a scenario where a user needs to share a file with multiple receiving devices, the user can only select one receiving device each time to share a file, and the user needs to initiate a file sharing request to each receiving device one by one, resulting in a problem of low file sharing efficiency.

[0123] In order to solve the above problems, the embodiment of the present application provides a sharing method, which creates an ad hoc network between a sending device and multiple receiving devices. The sending device sends files to the ad hoc network, and multiple receiving devices can obtain files from the ad hoc network at the same time, avoiding the sending device from sending files to multiple receiving devices one by one, thereby improving file sharing efficiency.

[0124] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data 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, and corresponding operation entrances shall be provided for users to choose to authorize or refuse.

[0125] The technical solutions shown in the present application are described in detail below through specific embodiments. Optionally, the following embodiments may exist alone or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.

[0126] First embodiment

[0127] Figure 4 A flow chart of a sharing method provided in an embodiment of the present application. Figure 4 , the method may include:

[0128] S10: Receive a file sharing request, where the file sharing request includes at least one first file and / or at least one target receiving device identifier.

[0129] Optionally, the execution subject of S10 is a sending device.

[0130] Optionally, a file sharing request is generated according to an instruction of a user.

[0131] Optionally, the user selects at least one first file and multiple target receiving device identifiers corresponding to multiple receiving devices in a user interface of the sending device. The at least one first file is a file that the user needs to send to multiple receiving devices.

[0132] Optionally, the target receiving device identifier is a unique identifier of the receiving device, and each receiving device corresponds to a unique target receiving device identifier.

[0133] Optionally, a file sharing request is generated according to a scheduled task.

[0134] Optionally, taking the scheduled task as a periodic file synchronization task as an example, the sending device triggers the file synchronization task once every preset time period, generates a file synchronization task based on the newly added or modified files within the preset time period, and synchronizes the files to the receiving device for file backup. The periodic file synchronization task can be executed automatically without human intervention.

[0135] S20: According to the file sharing request, determine the first ad hoc network corresponding to the target receiving device identifier and the target sharing area corresponding to the first ad hoc network.

[0136] Optionally, the first self-organizing network corresponding to the multiple target receiving device identifiers is a self-organizing network to which the multiple receiving devices corresponding to the multiple target receiving device identifiers are connected.

[0137] Optionally, the ad hoc network is a communication network created by a plurality of devices with ad hoc network communication capability through an ad hoc network protocol. Only devices connected to the ad hoc network can send or receive files through the ad hoc network.

[0138] Optionally, the target shared area may be a logical memory area generated by an ad hoc network protocol or a memory area provided by a cloud storage service. A device connected to the first ad hoc network may access files in the target shared area.

[0139] Optionally, each device connected to the first ad hoc network can be used as both a sending device and a receiving device, that is, each device connected to the first ad hoc network can both send files to the target sharing area and receive files from the target sharing area.

[0140] Optionally, for example, multiple target receiving device identifiers include device identifier A, device identifier B, device identifier C, and device identifier D, then the first self-organizing network is a self-organizing network to which devices corresponding to device identifier A, device identifier B, device identifier C, and device identifier D are all connected, and devices corresponding to device identifier A, device identifier B, device identifier C, and device identifier D can all access the target shared area.

[0141] S30: Send the first file to the target sharing area, so that the multiple receiving devices corresponding to the target receiving device identifier obtain at least one first file through the first ad hoc network.

[0142] Optionally, at least one first file is sent through the ad hoc network protocol corresponding to the first ad hoc network. It can be understood that the ad hoc network protocol corresponding to the first ad hoc network matches the first ad hoc network, and sending files through the ad hoc network protocol corresponding to the first ad hoc network can effectively improve file transmission efficiency.

[0143] Optionally, at least one first file is compressed by a data compression technology, and the compressed file is sent to the target sharing area. It can be understood that the size of the first file can be reduced by compression, thereby improving the file transmission efficiency.

[0144] Optionally, at least one first file is sent in a parallel transmission manner. It can be understood that, compared with transmitting the first files one by one, parallel transmission can effectively improve the file transmission efficiency.

[0145] The embodiment of the present application provides a sharing method, S10: receiving a file sharing request, the file sharing request includes at least one first file and / or at least one target receiving device identifier; S20: determining the first self-organizing network corresponding to the target receiving device identifier and the target sharing area corresponding to the first self-organizing network according to the file sharing request; S30: sending the first file to the target sharing area, so that multiple receiving devices corresponding to the target receiving device identifier obtain at least one first file through the first self-organizing network. Through the above technical solution, the sending device sends at least one first file to the first self-organizing network, which can enable multiple receiving devices connected to the first self-organizing network to obtain the first file from the first self-organizing network at the same time, thereby effectively improving the efficiency of file sharing.

[0146] Second embodiment

[0147] exist Figure 4 Based on the embodiment shown below, combined with Figure 5 , which explains the detailed process of file sharing.

[0148] Figure 5 A flow chart of step S20 of a sharing method provided in an embodiment of the present application. Figure 5 , in the method S20 may include:

[0149] S201, determining a plurality of standby networks to be selected and a plurality of self-organizing network information corresponding to the plurality of standby networks to be selected, each piece of self-organizing network information including a plurality of to-be-selected receiving device identifiers.

[0150] Optionally, the multiple alternative selected networks are all self-organizing networks that the sending device has already accessed. After accessing the alternative selected network, the sending device can obtain self-organizing network information of the alternative selected network, and can determine multiple to-be-selected receiving device identifiers through the self-organizing network information.

[0151] Optionally, the multiple to-be-selected receiving device identifiers in each ad hoc network information are identifiers corresponding to all devices that are to be selected from the ad hoc network corresponding to the ad hoc network information.

[0152] Optionally, the sending device stores a list of ad hoc networks to which the sending device has connected, and determines a plurality of standby ad hoc networks through the list.

[0153] Optionally, the list is updated in real time according to the access status of the sending device, so as to accurately determine the alternative network through the list.

[0154] S202: Determine, based on the multiple self-organizing network information, whether the multiple standby selected networks include a network to be selected, wherein the self-organizing network information corresponding to the network to be selected includes the target receiving device identifier.

[0155] Optionally, for example, multiple target receiving device identifiers include device identifier A, device identifier B, device identifier C, and device identifier D, and the conditions to be met by the network to be selected are: the devices corresponding to device identifier A, device identifier B, device identifier C, and device identifier D are all connected to the network to be selected.

[0156] If yes, execute S203.

[0157] If not, execute S204.

[0158] S203: If yes, determine the network to be selected as the first ad hoc network.

[0159] Optionally, the intended target of the file sharing request is that the receiving devices corresponding to the multiple target receiving device identifiers can all obtain at least one file in the first file. If the multiple alternative selected networks include the network to be selected, the file sent to the network to be selected can be obtained by the receiving devices corresponding to the multiple target receiving device identifiers, thereby achieving the intended target of the file sharing request. Therefore, the network to be selected is determined to be the first self-organizing network.

[0160] S204: If not, create the first ad hoc network according to the target receiving device identifier, wherein the first ad hoc network supports access of multiple target receiving devices corresponding to the target receiving device identifier.

[0161] Optionally, if the multiple standby networks do not include the network to be selected, it means that the ad hoc networks that the sending device has accessed cannot achieve the expected goal of the file sharing request, and a first ad hoc network that can achieve the expected goal needs to be created.

[0162] It should be noted that the execution order of S203 and S204 is not limited in this application.

[0163] Next, an example of creating a first ad hoc network is given.

[0164] Optionally, the first self-organizing network can be created by the following method: perform a network scan to obtain multiple network addresses corresponding to the target receiving device identifier; determine the sending device identifier and the sending device address information of the sending device; determine the self-organizing network request based on the target receiving device identifier, the sending device identifier, and the sending device address information, and send the self-organizing network request to the multiple network addresses respectively to create the first self-organizing network.

[0165] Optionally, the self-organizing network communication module of the sending device is turned on, and a broadcast signal is sent to the surroundings through the broadcast function of the self-organizing network protocol to inform multiple receiving devices of the existence of the sending device, so that the receiving devices corresponding to the multiple target receiving device identifiers can identify the sending device. It can be understood that by enabling the receiving devices to identify the sending device, the accuracy of creating the first self-organizing network is improved.

[0166] Optionally, each receiving device corresponds to a network address.

[0167] Optionally, by acquiring multiple network addresses, the ad hoc network request can be accurately sent to the receiving device.

[0168] Optionally, the sending device identifier is a unique identifier of the sending device.

[0169] Optionally, by determining the sending device identifier, the receiving device can accurately identify the sending device, thereby improving the accuracy of creating the first ad hoc network.

[0170] Optionally, the ad hoc network request includes multiple target receiving device identifiers. Sending the ad hoc network request to each receiving device allows each receiving device to clearly know which devices are connected to the first ad hoc network, thereby allowing each receiving device to effectively use the first ad hoc network to share files with each receiving device.

[0171] Optionally, the receiving device receives the ad hoc network request, parses and verifies the ad hoc network request, and establishes a first ad hoc network with the sending device and other receiving devices according to information in the ad hoc network request.

[0172] Optionally, after the creation of the first ad hoc network is completed, the list of the connected ad hoc networks of the sending device is updated according to the information of the first ad hoc network.

[0173] In this feasible implementation, the network address is obtained through network scanning, and the ad hoc network request is sent through the network address, so that the ad hoc network request can be accurately sent to the receiving device, thereby improving the accuracy of creating the first ad hoc network.

[0174] Figure 6 A schematic diagram of a first self-organizing network provided in an embodiment of the present application.

[0175] See also Figure 6 The first ad hoc network includes multiple nodes and a shared area, each node corresponds to a device, each node can perform file transfer with the shared area, and the file transfer includes sending a file to the shared area or obtaining a file from the shared area. For any node, if the device corresponding to the node sends a file to the shared area, the device is a sending device, and if the device corresponding to the node obtains a file from the shared area, the device is a receiving device.

[0176] Third embodiment

[0177] Based on any of the above embodiments, Figure 7 , which explains the detailed process of file sharing.

[0178] Figure 7A flow chart of step S30 of a sharing method provided in an embodiment of the present application. Figure 7 , in the method S30 may include:

[0179] S301. Determine a target encryption algorithm corresponding to the first ad hoc network.

[0180] Optionally, each ad hoc network corresponds to an encryption algorithm.

[0181] Optionally, a correspondence between a self-organizing network and an encryption algorithm is determined, and a target encryption algorithm is determined according to the first self-organizing network and the correspondence.

[0182] Optionally, a corresponding encryption algorithm is determined for each ad hoc network, which can effectively determine independent encryption rules for file sharing in each ad hoc network, preventing devices not connected to the ad hoc network from accessing the ad hoc network, thereby improving file security.

[0183] S302: Encrypt the first file using the target encryption algorithm to obtain at least one encrypted file.

[0184] Optionally, a random key is generated by a target encryption algorithm, and the first file is encrypted by the key.

[0185] Optionally, the receiving device decrypts the encrypted file using a key to obtain a first file.

[0186] Optionally, the target encryption algorithm corresponding to the first ad hoc network is updated regularly, and the latest encryption algorithm is sent to each device after each update.

[0187] Optionally, only devices connected to the first ad hoc network can obtain the target encryption algorithm, and the security of the first file can be effectively improved through encryption processing.

[0188] S303: Send the encrypted file to the target sharing area.

[0189] Optionally, file information of at least one first file is determined, and the file information is sent while sending at least one encrypted file. The file information may include information such as a thumbnail or a file name, and the file information is used to summarize the content of the file. The file information enables the receiving device to quickly determine the file to be obtained from the at least one encrypted file.

[0190] Figure 8 A schematic diagram of the encryption process provided in an embodiment of the present application.

[0191] See also Figure 8, determining a first file and a first ad hoc network according to a file sharing request. Determining a target encryption algorithm corresponding to the first ad hoc network. Encrypting the first file using the target encryption algorithm to generate an encrypted file. Sending the encrypted file to a target sharing area of ​​the first ad hoc network.

[0192] Optionally, after sending at least one encrypted file, it also includes: S40: receiving a file update request, the file update request including a file identifier to be updated and an update rule; S50: determining the file to be updated corresponding to the file identifier to be updated from the first file; S60: updating the file to be updated according to the update rule to obtain an updated file; S70: sending the updated file and the file identifier to be updated to the target shared area to replace the first file corresponding to the file identifier to be updated with the updated file.

[0193] Optionally, the update rules include but are not limited to adding, deleting, or modifying rules.

[0194] Optionally, for file A that has been sent to the target shared area, if the user needs to update file A, a file update request is generated according to the user's update instruction, the file identifier to be updated in the file update request is the identifier corresponding to file A, and the update rule in the file update request is the user's specific update operation.

[0195] Optionally, the corresponding file to be updated is determined according to the identifier of the file to be updated, and the file to be updated is a file that the user needs to update. The file to be updated is updated according to the update rule, and the obtained updated file meets the user's update requirements. The user needs to update the file to be updated, indicating that the file to be updated does not meet the user's requirements. By overwriting the corresponding file in the target shared area with the update file, the overwritten file can meet the user's requirements, and the file received by the receiving device is a file that meets the user's requirements.

[0196] In this feasible implementation, the files in the target sharing area are guaranteed to be always up-to-date through update processing, thereby improving the accuracy of file sharing.

[0197] Fourth embodiment

[0198] Fig. 9 A flow chart of a sharing method provided in an embodiment of the present application. Fig. 9 , the method may include:

[0199] S1: Receive a file acquisition request, where the file acquisition request includes a second file identifier and a target network identifier.

[0200] Optionally, the execution subject of S1 is a receiving device.

[0201] Optionally, the receiving device is located within a signal range of the ad hoc network corresponding to the target network identifier, and the second file identifier is a file identifier of a file that the user needs to obtain from the ad hoc network.

[0202] Optionally, a file acquisition request is generated according to a user's instruction.

[0203] Optionally, a file acquisition request is generated according to a scheduled task.

[0204] Optionally, the second file identifier may be one or more.

[0205] S2: Accessing the second ad hoc network corresponding to the target network identifier according to the file acquisition request.

[0206] Optionally, each device connected to the second ad hoc network can be used as both a sending device and a receiving device, that is, each device connected to the second ad hoc network can both send files to the target sharing area and receive files from the target sharing area.

[0207] Optionally, S2 can be implemented by the following method: determining the target authority information corresponding to the second self-organizing network and the current receiving device identifier of the receiving device; sending the target authority information and the current receiving device identifier to the second self-organizing network to access the second self-organizing network.

[0208] Optionally, each ad hoc network corresponds to a permission information.

[0209] Optionally, the permission information is updated periodically.

[0210] Optionally, the target permission information and the current receiving device identifier are used to enable the second ad hoc network to accurately verify the permissions of the receiving device.

[0211] Optionally, through authority verification, it is possible to prevent unauthorized devices from accessing the second ad hoc network, thereby improving the security of shared files.

[0212] Optionally, if the receiving device has been connected to the second ad hoc network, the target file can be directly obtained.

[0213] In the related art, reference Figure 3 , the sending device sends multiple files to the receiving device through the near field communication technology, and the user can only choose to accept all files or reject all files in the user interface of the receiving device.

[0214] Optionally, after the receiving device accesses the second ad hoc network, it obtains file information in the second ad hoc network through the browsing function of the second ad hoc network, and the file information includes but is not limited to thumbnails, file names, etc. The user can select a specified file through the file information, and the receiving device generates a corresponding second file identifier according to the file specified by the user.

[0215] Optionally, the user of the present application can specify the files to be obtained from multiple files by himself, and the problem of automatically obtaining files that the user does not need and occupying the storage space of the receiving device will not occur, thereby reducing the ineffective occupation of storage space.

[0216] S3: Determine a target file corresponding to the second file identifier in the second ad hoc network, and obtain the target file.

[0217] Optionally, the second ad hoc network includes files sent by all devices connected to the ad hoc network, and files meeting user requirements can be obtained by screening through the second file identifier.

[0218] Optionally, S3 can be implemented by the following method: determining a file to be selected and file information corresponding to the file to be selected from the shared area of ​​the second self-organizing network; determining the target file from the file to be selected based on the second file identifier and the file information; marking the target file as a download status until the download is completed, and downloading the target file to a preset area to obtain the target file.

[0219] Optionally, the preset area includes but is not limited to at least one of the following: local storage, network hard disk, or private cloud, etc.

[0220] Optionally, a target file is determined from the second ad hoc network and marked as a downloading state. A target file in a downloading state indicates that the file is being downloaded, and other devices can download the target file but cannot delete or modify the target file. When the download is completed, the mark is released, and other devices can delete or modify the target file.

[0221] In this feasible implementation, by marking the download status, it is possible to avoid the target file being deleted or modified by other devices while being downloaded, which would result in a failure in obtaining the target file, thereby improving the reliability of file sharing.

[0222] Fifth embodiment

[0223] Fig.10 A schematic diagram of the structure of a file sharing device provided in an embodiment of the present application. The file sharing device 10 comprises:

[0224] The first receiving module 101 is configured to receive a file sharing request, where the file sharing request includes at least one first file and / or at least one target receiving device identifier.

[0225] The determination module 102 is used to determine the first ad hoc network corresponding to the target receiving device identifier and the target sharing area corresponding to the first ad hoc network according to the file sharing request.

[0226] The sending module 103 is configured to send the first file to the target sharing area, so that the multiple receiving devices corresponding to the target receiving device identifier obtain at least one first file through the first ad hoc network.

[0227] Optionally, the determining module 102 is configured to:

[0228] Determine a plurality of standby networks to be selected and a plurality of self-organizing network information corresponding to the plurality of standby networks to be selected, each piece of self-organizing network information including a plurality of identifications of receiving devices to be selected;

[0229] Determine, according to the plurality of self-organizing network information, whether the plurality of standby selected networks include a network to be selected, wherein the self-organizing network information corresponding to the network to be selected includes the target receiving device identifier;

[0230] If yes, determining the network to be selected as the first ad hoc network;

[0231] If not, the first ad hoc network is created according to the target receiving device identifier, and the first ad hoc network supports access of multiple target receiving devices corresponding to the target receiving device identifier.

[0232] Optionally, the determining module 102 is configured to:

[0233] Performing network scanning to obtain multiple network addresses corresponding to the target receiving device identification;

[0234] Determine the sending device identification and sending device address information of the sending device;

[0235] According to the target receiving device identifier, the sending device identifier, and the sending device address information, a self-organizing network request is determined, and the self-organizing network request is sent to the multiple network addresses respectively to create the first self-organizing network.

[0236] Optionally, the file sharing device 10 further includes an encryption module 104, and the encryption module 104 is used to:

[0237] Determining a target encryption algorithm corresponding to the first ad hoc network;

[0238] Encrypting the first file by using the target encryption algorithm to obtain at least one encrypted file;

[0239] The encrypted file is sent to the target sharing area.

[0240] Optionally, the file sharing device 10 further includes an updating module 105, and the updating module 105 is used to:

[0241] receiving a file update request, wherein the file update request includes an identifier of a file to be updated and an update rule;

[0242] Determine the file to be updated corresponding to the file identifier to be updated from the first file;

[0243] Performing update processing on the file to be updated according to the update rule to obtain an updated file;

[0244] The update file and the identifier of the file to be updated are sent to the target shared area, so as to replace the first file corresponding to the identifier of the file to be updated with the update file.

[0245] Sixth embodiment

[0246] Fig.11 A schematic diagram of the structure of a file sharing device provided in an embodiment of the present application. The file sharing device 11 comprises:

[0247] The second receiving module 111 is configured to receive a file acquisition request, where the file acquisition request includes a second file identifier and a target network identifier.

[0248] The access module 112 is used to access the second ad hoc network corresponding to the target network identifier according to the file acquisition request.

[0249] The acquisition module 113 is used to determine the target file corresponding to the second file identifier from the second ad hoc network, and acquire the target file.

[0250] Optionally, the access module 112 is used to:

[0251] Determine the target authority information corresponding to the second ad hoc network and the current receiving device identifier of the receiving device;

[0252] The target authority information and the current receiving device identifier are sent to the second ad hoc network to access the second ad hoc network.

[0253] Optionally, the file sharing device 11 further includes a marking module 114, wherein the marking module 114 is configured to:

[0254] Determine a file to be selected and file information corresponding to the file to be selected from the shared area of ​​the second ad hoc network;

[0255] Determine the target file from the candidate files according to the second file identifier and the file information;

[0256] The target file is marked as being in a downloading state until the download is completed, and the target file is downloaded to a preset area to obtain the target file.

[0257] The present application also provides an intelligent terminal, which includes a memory and a processor. The memory stores a sharing program, and when the sharing program is executed by the processor, the steps of the sharing method in any of the above embodiments are implemented.

[0258] The present application also provides a storage medium, on which a sharing program is stored. When the sharing program is executed by a processor, the steps of the sharing method in any of the above embodiments are implemented.

[0259] In the embodiments of the smart terminal and storage medium provided in the present application, all technical features of any of the above-mentioned sharing method embodiments may be included, and the expanded and explained contents of the specification are basically the same as those of the embodiments of the above-mentioned methods, and will not be repeated here.

[0260] The embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the methods in the above various possible implementation modes.

[0261] An embodiment of the present application also provides a chip, including a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device equipped with the chip executes the methods in various possible implementation modes as described above.

[0262] It is understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0263] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0264] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0265] The units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0266] In the present application, the same or similar terminology concepts, technical solutions and / or application scenario descriptions are generally described in detail only the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of the present application, for the same or similar terminology concepts, technical solutions and / or application scenario descriptions that are not described in detail later, reference can be made to the previous related detailed descriptions.

[0267] In the present application, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0268] The various technical features of the technical solution of the present application can be arbitrarily combined. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the present application.

[0269] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as above, including a number of instructions for enabling an intelligent terminal (which can be a mobile phone, computer, server, controlled terminal, or network device, etc.) to execute the method of each embodiment of the present application.

[0270] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. Computer instructions can be stored in a storage medium, or transmitted from one storage medium to another storage medium. For example, computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. Available media can be magnetic media, (e.g., floppy disk, storage disk, tape), optical media (e.g., DVD), or semiconductor media (e.g., solid-state storage disk Solid State Disk (SSD)), etc.

[0271] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A sharing method, characterized in that: The method comprises: S10: receiving a file sharing request, where the file sharing request includes at least one first file and / or at least one target receiving device identifier; S20: Determine, according to the file sharing request, a first ad hoc network corresponding to the target receiving device identifier and a target sharing area corresponding to the first ad hoc network; S30: Send the first file to the target sharing area, so that the multiple receiving devices corresponding to the target receiving device identifier obtain at least one first file through the first ad hoc network.

2. The method according to claim 1, characterized in that The S20 includes: Determine a plurality of standby networks to be selected and a plurality of self-organizing network information corresponding to the plurality of standby networks to be selected, each piece of self-organizing network information including a plurality of identifications of receiving devices to be selected; Determine, according to the plurality of self-organizing network information, whether the plurality of standby selected networks include a network to be selected, wherein the self-organizing network information corresponding to the network to be selected includes the target receiving device identifier; If yes, determining the network to be selected as the first ad hoc network; If not, the first ad hoc network is created according to the target receiving device identifier, and the first ad hoc network supports access of multiple target receiving devices corresponding to the target receiving device identifier.

3. The method according to claim 2, characterized in that Creating the first ad hoc network according to the target receiving device identifier includes: Performing network scanning to obtain multiple network addresses corresponding to the target receiving device identification; Determine the sending device identification and sending device address information of the sending device; According to the target receiving device identifier, the sending device identifier, and the sending device address information, a self-organizing network request is determined, and the self-organizing network request is sent to the multiple network addresses respectively to create the first self-organizing network.

4. The method according to any one of claims 1 to 3, characterized in that The S30 includes: Determining a target encryption algorithm corresponding to the first ad hoc network; Encrypting the first file by using the target encryption algorithm to obtain at least one encrypted file; The encrypted file is sent to the target sharing area.

5. The method according to any one of claims 1 to 3, characterized in that After S30, the method further includes: S40: receiving a file update request, wherein the file update request includes an identifier of a file to be updated and an update rule; S50: Determine the to-be-updated file corresponding to the to-be-updated file identifier from the first file; S60: performing update processing on the file to be updated according to the update rule to obtain an updated file; S70: Sending the update file and the identifier of the file to be updated to the target shared area, so as to replace the first file corresponding to the identifier of the file to be updated with the update file.

6. A sharing method, characterized in that: The method comprises: S1: receiving a file acquisition request, wherein the file acquisition request includes a second file identifier and a target network identifier; S2: Accessing the second ad hoc network corresponding to the target network identifier according to the file acquisition request; S3: Determine a target file corresponding to the second file identifier in the second ad hoc network, and obtain the target file.

7. The method according to claim 6, characterized in that The S2 comprises: Determine the target authority information corresponding to the second ad hoc network and the current receiving device identifier of the receiving device; The target authority information and the current receiving device identifier are sent to the second ad hoc network to access the second ad hoc network.

8. The method according to claim 6 or 7, characterized in that: The S3 includes: Determine a file to be selected and file information corresponding to the file to be selected from the shared area of ​​the second ad hoc network; Determine the target file from the candidate files according to the second file identifier and the file information; The target file is marked as being in a downloading state until the download is completed, and the target file is downloaded to a preset area to obtain the target file.

9. An intelligent terminal, characterized in that: The intelligent terminal comprises: a memory and a processor, wherein a sharing program is stored in the memory, and when the sharing program is executed by the processor, the steps of the sharing method according to any one of claims 1 to 8 are implemented.

10. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, implements the steps of the sharing method according to any one of claims 1 to 8.