CN109246185B - File downloading method and related product - Google Patents

File downloading method and related product Download PDF

Info

Publication number
CN109246185B
CN109246185B CN201810857279.3A CN201810857279A CN109246185B CN 109246185 B CN109246185 B CN 109246185B CN 201810857279 A CN201810857279 A CN 201810857279A CN 109246185 B CN109246185 B CN 109246185B
Authority
CN
China
Prior art keywords
target
file
devices
transmission
neighboring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810857279.3A
Other languages
Chinese (zh)
Other versions
CN109246185A (en
Inventor
柯世兴
胡亚东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810857279.3A priority Critical patent/CN109246185B/en
Publication of CN109246185A publication Critical patent/CN109246185A/en
Application granted granted Critical
Publication of CN109246185B publication Critical patent/CN109246185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a file downloading method and a related product, which are applied to electronic equipment, wherein the electronic equipment establishes a Neighbor Awareness Network (NAN) connection with a plurality of adjacent equipment, and the method comprises the following steps: sending a download request for a target file to each of the plurality of proximate devices; if a plurality of target adjacent devices in the plurality of adjacent devices cache the target file, acquiring file information of the target file and the network state of the NAN; dividing the target file based on the file information and the network state, and determining a transmission file segment corresponding to each device in the plurality of target adjacent devices; receiving a transmission file fragment sent by each device in the target adjacent devices to obtain a plurality of transmission file fragments; and performing data integration on the plurality of transmission file fragments to obtain the target file. By adopting the method and the device, the downloading speed and the transmission speed are improved.

Description

File downloading method and related product
Technical Field
The application relates to the technical field of communication, and mainly relates to a file downloading method and a related product.
Background
With the development of communication technology and electronic device technology, more and more functions are integrated on electronic devices (such as mobile phones, tablet computers, and the like), downloading files directly through the electronic devices becomes a common thing, and how to increase the file downloading rate is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the application provides a file downloading method and a related product, which can be used for downloading a target file through a plurality of target adjacent devices in a NAN (neighbor access network) and improving the downloading speed and the transmission speed.
In a first aspect, an embodiment of the present application provides a file downloading method, which is applied to an electronic device, where the electronic device establishes a neighbor aware network NAN connection with a plurality of neighboring devices, and the method includes:
sending a download request for a target file to each of the plurality of proximate devices;
if a plurality of target adjacent devices in the plurality of adjacent devices cache the target file, acquiring file information of the target file and the network state of the NAN;
dividing the target file based on the file information and the network state, and determining a transmission file segment corresponding to each device in the plurality of target adjacent devices;
receiving a transmission file fragment sent by each device in the target adjacent devices to obtain a plurality of transmission file fragments;
and performing data integration on the plurality of transmission file fragments to obtain the target file.
In a second aspect, an embodiment of the present application provides a file downloading apparatus, which is applied to an electronic device, where the electronic device establishes a neighbor aware network NAN connection with a plurality of neighboring devices, and the apparatus includes:
a communication unit for transmitting a download request for a target file to each of the plurality of neighboring devices;
a processing unit, configured to obtain file information of the target file and a network state of the NAN if the target file is cached in each of the target neighboring devices; dividing the target file based on the file information and the network state, and determining a transmission file segment corresponding to each device in the plurality of target adjacent devices;
the communication unit is further configured to receive a transmission file segment sent by each device in the target neighboring devices, and obtain a plurality of transmission file segments;
the processing unit is further configured to perform data integration on the plurality of transmission file segments to obtain the target file.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for some or all of the steps described in the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, where the computer program makes a computer perform some or all of the steps as described in the first aspect of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
after the file downloading method and the related products are adopted, the file downloading method and the related products are applied to the electronic equipment, and the electronic equipment establishes NAN connection with a plurality of adjacent equipment. When the electronic device sends a download request for a target file to each of the plurality of neighboring devices, if the target file is cached by all of the plurality of target neighboring devices, file information of the target file and a network state of the NAN are obtained. Then, the target file is divided based on the file information and the network state to determine a transmission file segment corresponding to each device in the target adjacent devices, the transmission file segments sent by the target adjacent devices are received to obtain a plurality of transmission file segments, and the data integration is performed on the plurality of transmission file segments to obtain the target file. That is to say, the target files to be downloaded by the electronic device are cached in the target neighboring devices, and the corresponding transmission file segments can be respectively allocated to the target neighboring devices based on the file information of the target files and the network state of the NAN, so that the electronic device can acquire the complete target files by performing data integration on the received transmission file segments, thereby improving the downloading speed and the transmission speed.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
fig. 1A is a network architecture diagram of a NAN according to an embodiment of the present application;
fig. 1B is a schematic view of a scenario for starting a network function according to an embodiment of the present application;
fig. 1C is a schematic flowchart of a file downloading method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a file downloading device according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
A Neighbor Awareness Network (NAN), also called a Wireless Fidelity (Wi-Fi) awareness network, is described in the embodiments of the present application by using the NAN.
The NAN function is mainly used for realizing a real-time efficient discovery mechanism, so that the Wi-Fi function is expanded, and the application experience at the moment is improved. The device and the service are continuously discovered in the Wi-Fi range before connection is established, the device does not need to be connected to a mobile broadband network or a Wi-Fi infrastructure network, and a fast awareness networking mode of a component NAN can be achieved. The social application created by the new technology can be adopted, for example, people can be helped to find nearby friends, information or services meeting the requirements of the people, small-section information can be exchanged under the condition of no connection, for example, position information is carried in a discovery frame discover beacon, information exchange is carried out through interaction of the discovery frame, and the like. In addition, the environment sensing function is improved. Because the terminals do not need to rely on network connection to inform the surrounding experience of the users to the users through the NAN, as long as the Wi-Fi Aware discovers the terminals which also support the NAN function, the Wi-Fi Direct or infrastructure connection can be established, and then multiple experiences are provided. Thus, the NAN functionality may help users complete more tasks using the information they receive, from discovering information to eventual activities, supplementing the proximity-based experience.
The electronic devices involved in the embodiments of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem with wireless communication functions, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal equipment (terminal device), and so on. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices, and a neighboring device also belongs to one of the electronic devices, and the device of the NAN that is accessed together with the electronic device is referred to as a neighboring device in this application.
Referring to fig. 1A, fig. 1A is a network architecture diagram of a NAN according to an embodiment of the present disclosure, where the network architecture diagram includes an electronic device, a first neighboring device, a second neighboring device, and a third neighboring device.
And the electronic equipment and the adjacent equipment in the NAN both support the NAN function, and both start the NAN function before running the application. The NAN function may be triggered by similar actions like turning on a Wi-Fi switch or turning on a button for controlling the NAN function, as shown in fig. 1B, the neighbor awareness network and the wired network are in an on state, and the wireless network is in an off state; and the system can also be automatically started when the operation parameters meet certain conditions, wherein: the operating parameter may be a current location of the electronic device, for example: parking area, market, highway etc. the operating parameter also can be electronic equipment's foreground application, for example: applications including location services, applications involving neighboring networks, and the like, are not limited herein.
The following describes embodiments of the present application in detail.
The embodiment of the application provides a file downloading method and a related product, which can be used for downloading a target file through a plurality of target adjacent devices in a NAN (neighbor access network) and improving the downloading speed and the transmission speed.
Referring to fig. 1C, an embodiment of the present application provides a flowchart illustrating a file downloading method. Specifically, as shown in fig. 1C, a file downloading method is applied to the electronic device shown in fig. 1A, that is, the electronic device establishes NAN connection with multiple neighboring devices, and the method includes:
s101: a download request for the target file is sent to each of a plurality of proximate devices.
In the embodiment of the present application, the electronic device sends a download request for the target file to each neighboring device, that is, the electronic device requests each neighboring device to assist in downloading the target file.
S102: and if the target files are cached in a plurality of target adjacent devices in the plurality of adjacent devices, acquiring the file information of the target files and the network state of the NAN.
In this embodiment of the application, the target files are cached by the target neighboring devices, and the target files may be files shared by the target neighboring devices, files cached by the electronic device, or files cached by the cloud disk corresponding to the electronic device, which is not limited herein.
The file information includes file memory size, file source, file type, etc., and the network status includes network signal strength of each neighboring device, download network speed, remaining memory size, distance from the electronic device, etc., which is not limited herein.
It can be understood that, if the target file is cached in each of the target neighboring devices, any one of the target neighboring devices may transmit the target file to the electronic device through the NAN, so that a downloading step is omitted, and downloading efficiency is improved. If a plurality of target adjacent devices transmit the file fragments of the target file at the same time, the transmission efficiency can be further improved.
In one embodiment, the method further comprises: obtaining a plurality of to-be-transmitted adjacent devices corresponding to the target file cached in the plurality of adjacent devices; and verifying the plurality of to-be-transmitted adjacent devices to obtain the plurality of target adjacent devices which are successfully verified.
In the embodiment of the application, the verification method is not limited, an association value between the to-be-transmitted adjacent device and the electronic device may be obtained, and when the association value is greater than a threshold value, it is determined that the to-be-transmitted adjacent device is successfully verified; whether the identification information of the adjacent equipment to be transmitted is blacklisted or not can be judged, if yes, the adjacent equipment to be transmitted is determined to be failed to be verified; and if the distance is smaller than a threshold value, and the network state signal is stronger than a threshold value or is stable, the verification of the adjacent equipment to be transmitted is determined to be successful, and the like.
It can be understood that the security and the stability of NAN transmission can be improved by verifying the plurality of to-be-transmitted neighboring devices, in which the target file is cached, among the plurality of neighboring devices.
In one embodiment, the plurality of neighboring devices to be transmitted include reference neighboring devices, and the plurality of target neighboring devices whose verification succeeds when the verification of the plurality of neighboring devices to be transmitted includes: acquiring a connection record between the reference neighboring device and the electronic device; extracting connection parameters between the reference proximity device and the electronic device from the connection record; determining an association value between the reference neighboring device and the electronic device according to the connection parameter; determining the reference neighboring device as the target neighboring device when the association value is greater than a first threshold value.
The connection record is record information for establishing NAN connection between the reference adjacent equipment and the electronic equipment; the connection parameters include connection duration, connection times, data transmission quantity and other connection dimension information.
It is understood that the electronic device may extract a connection parameter between the reference neighboring device and the electronic device from the connection record, the connection parameter reflecting the association between the reference neighboring device and the electronic device to some extent, and thus, the accuracy of the association value may be improved. And then, according to the comparison between the preset first threshold and the correlation value, whether the reference adjacent device is the target adjacent device is determined, so that the identification accuracy is improved, and the transmission safety and stability of the target adjacent device are improved.
The method for determining the association value according to the connection parameter is not limited, and in an embodiment, the method further includes: and determining the correlation value according to the connection dimension information and a preset connection weight value corresponding to each connection dimension information in the connection dimension information.
The sum of the preset connection weights corresponding to the plurality of connection dimension information is 1, and the determination can be performed according to the probability of data interaction between the connection dimension information and the electronic equipment, so that the accuracy of determining the correlation value can be improved through weighting calculation.
For example, assume a plurality of connection dimensions and their corresponding connection dimension information: the connection duration is 10min, the connection times are 2 times, the data transmission volume is 10M, the preset connection weights corresponding to the connection duration, the connection times and the data transmission volume are 0.3, 0.4 and 0.3 respectively, and then the correlation value is 10 × 0.3+2 × 0.4+10 × 0.3-6.8. If the first threshold is 5, the association value is greater than the first threshold, and the reference neighboring device is determined to be the target neighboring device.
In one embodiment, the method further comprises: acquiring a reference evaluation value of the reference adjacent equipment; determining a target evaluation value according to the reference evaluation value and the associated value; and when the target evaluation value is larger than a second threshold value, determining that the reference neighboring device is the target neighboring device.
The second threshold and the first threshold are not limited, and may be a minimum value required for network transmission; an average value of the plurality of evaluation values, or the like; the reference evaluation value is used to describe a download state of the reference proximity device, and the method for acquiring the reference evaluation value is not limited in the present application.
In one embodiment, the download parameters of the reference proximity device include a plurality of evaluation dimension information; the determining the reference evaluation value of the reference neighboring device according to the plurality of download parameters includes: and determining the evaluation value of the reference adjacent equipment according to the plurality of evaluation dimension information and a preset evaluation weight value corresponding to each evaluation dimension information in the plurality of evaluation dimension information.
The plurality of evaluation dimensions can be network signal strength, download network speed, residual memory size, distance between the electronic equipment and the like, the sum of preset evaluation weights corresponding to the plurality of evaluation dimension information is 1, the dimension information and the corresponding preset evaluation weight are not limited, and the determination can be carried out according to the association degree between the dimension information and the download state.
For example, assume a plurality of dimensions and their corresponding dimension information: the distance between the reference neighboring device and the electronic device is 5M, the download speed of the reference neighboring device is 2M/s, the remaining memory size of the reference neighboring device is 20G, and the preset evaluation weights corresponding to the multiple dimensions are 0.4, 04, and 0.2, respectively, then the reference evaluation value is 5 × 0.4+2 × 0.4+20 × 0.2 — 6.8, if the correlation value between the reference neighboring device and the electronic device is 0.7, the reference evaluation value and the electronic device are weighted and calculated to be 6.8 × 0.5+0.7 × 0.5 — 3.75, and if the second threshold is 5, the reference evaluation value is smaller than the second threshold, and the reference neighboring device is determined not to be the target neighboring device.
It can be understood that, the association value between the reference neighboring device and the electronic device and the reference evaluation value of the reference neighboring device are obtained first, and then the target neighboring device is selected according to the magnitude relationship between the association value and the reference evaluation value, so that the security and stability of the target neighboring device can be improved, and the transmission efficiency is improved.
The method for how to obtain the distance between the reference proximity device and the electronic device is not limited, if the electronic device includes a ranging module, the ranging module may be a ranging sensor, for example: the distance between the first adjacent equipment and the electronic equipment can be directly determined according to the distance measuring principle of the ultrasonic distance measuring sensor, the laser distance measuring sensor, the infrared distance measuring sensor, the radar sensor and the like.
In an embodiment, the electronic device obtains the distance between the reference neighboring device and the electronic device based on ranging detection of a NAN, or the first neighboring device obtains the distance based on ranging detection of the NAN and sends the distance to the electronic device, and the like, which is not limited herein.
S103: and dividing the target file to determine a transmission file segment corresponding to each device in the plurality of target adjacent devices based on the file information and the network state.
In the embodiment of the application, how to determine the transmission file segments of the target adjacent devices is not limited, the network speed of each target adjacent device can be obtained, and the determination is performed according to the network speed; or the distance between each target adjacent device and the electronic device can be obtained, and the determination is carried out according to the distance speed; and the download parameters can be determined according to a plurality of download parameters such as network speed, distance, residual memory size and the like.
It can be understood that the target file is divided based on the file information and the network state, and the transmission file segment corresponding to each device in the plurality of target adjacent devices is determined, so that the dividing accuracy and the transmission efficiency can be improved.
In one embodiment, the dividing the target file to determine the transmission file segment corresponding to each device in the plurality of target neighboring devices based on the file information and the network status comprises: determining a target memory size based on the network state; and dividing the target file according to the size of the target memory and the file information, and determining a transmission file segment corresponding to each device in the plurality of target adjacent devices.
The target memory size is used to define the file memory size of each target neighboring device, that is, the file size transmitted by each target neighboring device is equal.
It can be understood that the size of the target memory is determined according to the network state, and then the target file is divided according to the size of the target memory and the file information to determine the transmission file segments corresponding to the target neighboring devices, so that a plurality of transmission file segments with the same size can be obtained, and the file types of each transmission file segment are similar, which is beneficial to improving the accuracy of file division.
In an embodiment, the determining the target memory size based on the network status includes: acquiring an evaluation value of each device in the plurality of target adjacent devices according to the download parameters of each device in the plurality of target adjacent devices to obtain a plurality of evaluation values; acquiring a minimum value of the plurality of evaluation values; and determining the size of the target memory according to the minimum value and the number of the target adjacent devices.
The method for obtaining the evaluation value of the target neighboring device may refer to the above method for obtaining the evaluation value of the reference neighboring device, and is not described herein again.
It can be understood that the evaluation values of the target neighboring devices are obtained, the minimum value is selected, and the size of the target memory is determined according to the minimum value and the number of the target neighboring devices, so that the difference between the target neighboring devices can be reduced, and the file segments with the same memory size are synchronously transmitted, thereby improving the transmission synchronism.
The preset distance is not limited, and in one embodiment, the idle network rate of the reference neighboring device corresponding to the minimum value is obtained; determining the size of a preset memory according to the idle network rate; and determining the size of the target memory according to the preset memory size, the number and the file memory size of the target file.
The idle network rate may be an unoccupied rate in an access rate allocated to the target neighboring device by the hotspot, so that the use of the target neighboring device is not affected by the transmission of the target file. The hot spot may be a router or other electronic device; the wireless network provided by the hotspot includes, but is not limited to, Wi-Fi.
In the embodiment of the present application, a mapping relationship between the idle network rate and the preset memory size may be stored in advance, as shown in the following table: when the idle network rate is 80Kb/s, the idle network rate satisfies [ 0-200 ], and the preset memory size is 0.8M; when the idle network rate is 300Kb/s, the idle network rate satisfies (200-500), the preset memory size is 1M, and when the idle network rate is 1Mb/s, the idle network rate is greater than 500Kb/s, the preset memory size is 5M.
Range of idle network rates (Kb/s) Preset memory size of (M)
[0~200] 0.8
(200~500] 1
Greater than 500 5
It can be understood that, the electronic device obtains the idle network rate of the target neighboring device, determines the preset memory size according to the idle network rate, and then determines the target memory size based on the preset memory size, the number of the target neighboring devices, and the file memory size of the target file, which can improve the accuracy of determining the target memory size and is convenient for improving the transmission synchronization and the transmission efficiency.
S104: and receiving the transmission file fragment sent by each device in the target adjacent devices to obtain a plurality of transmission file fragments.
In the embodiment of the application, each target neighboring device transmits the allocated transmission file segment, that is, sends the transmission file segment to the electronic device, so that the electronic device can acquire a plurality of transmission file segments.
In an embodiment, the target neighboring devices may directly transmit the corresponding transmission file segments to the electronic device, or transmit the transmission file segments to the electronic device through the relay target neighboring devices, so that the transmission file segments are transmitted to the electronic device through at least one relay, thereby improving transmission efficiency.
In one embodiment, the method further comprises: determining target adjacent equipment to be transferred according to the plurality of evaluation values; acquiring download parameters of each device except the target neighboring devices in the neighboring devices to obtain a plurality of download parameters; obtaining an evaluation value corresponding to each download parameter in the plurality of download parameters to obtain a plurality of transit evaluation values; determining a neighboring device corresponding to the maximum value in the plurality of transit evaluation values as a transit target neighboring device; and receiving the transmission file corresponding to the target neighboring device to be transferred, which is forwarded by the target neighboring device to be transferred.
The method for obtaining the download parameters of each device of the multiple neighboring devices except for the multiple target neighboring devices may refer to the foregoing method, and details are not repeated herein.
It can be understood that, in order to improve the transmission efficiency, the target neighboring device to be relayed in the multiple target neighboring devices is determined, the relay evaluation value of each device is determined according to the download parameters of the devices, except the multiple target neighboring devices, in the multiple neighboring devices, and then the neighboring device corresponding to the maximum value in the multiple relay evaluation values is determined as the relay target neighboring device. Therefore, the transmission file fragments corresponding to the target neighboring device to be transferred are transmitted by the target neighboring device to be transferred, so that the transmission efficiency can be improved, and the situation that the transmission time is long or the transmission fails due to the fact that the distance is too long can be avoided.
S105: and performing data integration on the plurality of transmission file fragments to obtain the target file.
In the embodiment of the application, the files to be downloaded are divided, and each file segment to be downloaded can be numbered, so that data integration can be performed according to the sequence of the numbers when data are integrated, and no limitation is imposed on how the file segments to be downloaded are numbered.
In an embodiment, the data integration of the plurality of transmission file segments to obtain the target file includes: determining an integration sequence corresponding to the plurality of transmission file fragments according to the plurality of evaluation values; and performing data integration on the plurality of transmission file fragments according to the integration sequence to obtain the target file.
It can be understood that, since the evaluation values of the target neighboring devices are different and the target memories have the same size, the time for the electronic device to receive each transmission file segment is different, and therefore, the integration sequence is determined according to the evaluation values, so that when the electronic device obtains a plurality of transmission file segments with numbers, data integration can be directly performed according to the numbers of the transmission file segments and the integration sequence to obtain a target file, and thus, the efficiency of data integration is improved.
For example, assume that there are 5 target neighbor devices in total, a first target neighbor device, a second target neighbor device, a third target neighbor device, a fourth target neighbor device, and a fifth target neighbor device, where: the evaluation value of the first target neighboring device is greater than the evaluation value of the third target neighboring device, the evaluation value of the third target neighboring device is equal to the evaluation value of the fourth target neighboring device, the evaluation value of the third target neighboring device is greater than the evaluation value of the second target neighboring device, and the evaluation value of the second target neighboring device is equal to the evaluation value of the fifth target neighboring device, and then the integration sequence is determined to be that the transmission file segment corresponding to the first target neighboring device, the transmission file segment corresponding to the third target neighboring device, and the transmission file segment corresponding to the fourth target neighboring device are integrated first, and then the transmission file segment corresponding to the second target neighboring device and the transmission file segment corresponding to the fifth target neighboring device are integrated, so that the file transmission efficiency is improved.
In addition, the missing segments to be downloaded can be searched according to the serial numbers, and the fault processing capacity is improved. In one embodiment, the method further comprises: determining a transmission time length corresponding to each device in the target adjacent devices according to the plurality of evaluation values and the size of the target memory, wherein the plurality of target adjacent devices comprise detection target adjacent devices; when the transmission duration corresponding to the detection target adjacent equipment is reached, if the transmission file segment corresponding to the detection target adjacent equipment is not received; acquiring the transmission state of the detection target adjacent equipment; if the transmission state is a fault, selecting candidate target adjacent equipment from the target adjacent equipment, and determining that the candidate target adjacent equipment also corresponds to the transmission file segment corresponding to the detection target adjacent equipment; and receiving the transmission file segment corresponding to the detection target adjacent device sent by the candidate target adjacent device.
It can be understood that, the transmission time length of each target neighboring device is determined in advance according to the evaluation value and the size of the target memory, and by taking a detected target neighboring device among the multiple target neighboring devices as an example, when the transmission time length corresponding to the detected target neighboring device arrives, whether a transmission file segment corresponding to the detected target neighboring device is received is detected, if yes, a step of performing data integration is performed, if no, whether the detected target neighboring device is faulty is detected, if yes, an alternative target neighboring device is selected from the multiple target neighboring devices, so that the transmission file segment of the detected target neighboring device is transmitted through the alternative target neighboring device, and the alternative target neighboring device caches the transmission file segment of the detected target neighboring device, so that fault handling capability and file transmission efficiency can be improved.
The method for detecting whether the target adjacent equipment fails is not limited, and the fault information sent by the target adjacent equipment can be acquired; or acquiring the downloading parameters of the target adjacent equipment again, and determining that the target adjacent equipment fails if the downloading parameters do not meet the preset conditions; and if the estimated downloading time corresponding to the downloading process is greater than a threshold value, determining that the target adjacent equipment has a fault and the like.
The candidate target proximity device may be a device having the highest evaluation value among the plurality of target proximity devices, may be a device closest to the electronic device, and the like, and is not limited herein.
In the file downloading method shown in fig. 1C, when the electronic device sends a download request for a target file to each of the neighboring devices, if the target file is cached by all of the neighboring devices, the file information of the target file and the network state of the NAN are obtained. Then, the target file is divided based on the file information and the network state to determine a transmission file segment corresponding to each device in the target adjacent devices, the transmission file segments sent by the target adjacent devices are received to obtain a plurality of transmission file segments, and the data integration is performed on the plurality of transmission file segments to obtain the target file. That is to say, the target files to be downloaded by the electronic device are cached in the target neighboring devices, and the corresponding transmission file segments can be respectively allocated to the target neighboring devices based on the file information of the target files and the network state of the NAN, so that the electronic device can acquire the complete target files by performing data integration on the received transmission file segments, thereby improving the downloading speed and the transmission speed.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a file downloading apparatus according to an embodiment of the present disclosure, where the file downloading apparatus is applied to an electronic device, and the electronic device establishes NAN connection with a plurality of neighboring devices. As shown in fig. 2, the file downloading apparatus 200 includes:
the communication unit 201 is configured to send a download request for a target file to each device in the plurality of neighboring devices;
the processing unit 202 is configured to, if a plurality of target neighboring devices in the plurality of neighboring devices cache the target file, obtain file information of the target file and a network state of the NAN; dividing the target file based on the file information and the network state to determine a transmission file segment corresponding to each device in the plurality of target adjacent devices;
the communication unit 201 is further configured to receive a transmission file fragment sent by each device in the target neighboring devices to obtain a plurality of transmission file fragments;
the processing unit 202 is further configured to perform data integration on the multiple transmission file segments to obtain the target file.
It can be understood that, when the electronic device sends a download request for a target file to each of the neighboring devices, if the target file is cached by each of the neighboring devices, the processing unit 202 obtains file information of the target file and a network status of the NAN. Then, the target file is divided based on the file information and the network state to determine a transmission file segment corresponding to each device in the target neighboring devices, the communication unit 201 receives the transmission file segments sent by the target neighboring devices to obtain a plurality of transmission file segments, and the processing unit 202 performs data integration on the plurality of transmission file segments to obtain the target file. That is to say, the target files to be downloaded by the electronic device are cached in the target neighboring devices, and the corresponding transmission file segments can be respectively allocated to the target neighboring devices based on the file information of the target files and the network state of the NAN, so that the electronic device can acquire the complete target files by performing data integration on the received transmission file segments, thereby improving the downloading speed and the transmission speed.
In a possible example, in the aspect that the target file is divided based on the file information and the network status to determine the transmission file segment corresponding to each device in the multiple target neighboring devices, the processing unit 202 is specifically configured to determine a target memory size based on the network status; and dividing the target file according to the size of the target memory and the file information to determine a transmission file segment corresponding to each device in the plurality of target adjacent devices.
In a possible example, the network status includes a download parameter of each device in the multiple target neighboring devices, and in the determining the target memory size based on the network status, the processing unit 202 is specifically configured to obtain, according to the download parameter of each device in the multiple target neighboring devices, an evaluation value of each device in the multiple target neighboring devices to obtain multiple evaluation values; acquiring a minimum value of the plurality of evaluation values; and determining the size of the target memory according to the minimum value and the number of the target adjacent devices.
In one possible example, in the data integration of the plurality of transmission file segments to obtain the target file, the processing unit 202 is specifically configured to determine an integration order corresponding to the plurality of transmission file segments according to the plurality of evaluation values; and performing data integration on the plurality of transmission file segments according to the integration sequence to obtain the target file.
In a possible example, the processing unit 202 is further configured to determine, according to the plurality of evaluation values and the target memory size, a transmission duration corresponding to each of the target neighboring devices, where the plurality of target neighboring devices include a detection target neighboring device; when the transmission duration corresponding to the detection target adjacent equipment is reached, if the transmission file segment corresponding to the detection target adjacent equipment is not received; acquiring the transmission state of the detection target adjacent equipment; if the transmission state is a fault, selecting candidate target adjacent equipment from the target adjacent equipment, and determining that the candidate target adjacent equipment also corresponds to the transmission file segment corresponding to the detection target adjacent equipment;
the communication unit 201 is further configured to receive a transmission file segment corresponding to the detection target neighboring device sent by the candidate target neighboring device.
In a possible example, the processing unit 202 is further configured to obtain a plurality of to-be-transmitted neighboring devices corresponding to the target file cached in the plurality of neighboring devices; and verifying the plurality of to-be-transmitted adjacent devices to obtain the plurality of target adjacent devices which are successfully verified.
In a possible example, the plurality of to-be-transmitted neighboring devices include a reference neighboring device, and in terms of the plurality of target neighboring devices successfully verified by the verification of the plurality of to-be-transmitted neighboring devices, the processing unit 202 is further configured to obtain a connection record between the reference neighboring device and the electronic device; extracting connection parameters between the reference proximity device and the electronic device from the connection record; determining an association value between the reference neighboring device and the electronic device according to the connection parameter; determining the reference neighboring device as the target neighboring device when the association value is greater than a first threshold value.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, which is identical to the embodiment shown in fig. 1C. As shown in fig. 3, the electronic device 300 includes a processor 310, a memory 320, a communication interface 330, and one or more programs 340, wherein the one or more programs 340 are stored in the memory 320 and configured to be executed by the processor 310. The electronic device establishes NAN connections with a plurality of neighboring devices, and the program 340 includes instructions for performing the following steps:
sending a download request for a target file to each of the plurality of proximate devices;
if a plurality of target adjacent devices in the plurality of adjacent devices cache the target file, acquiring file information of the target file and the network state of the NAN;
dividing the target file based on the file information and the network state to determine a transmission file segment corresponding to each device in the plurality of target adjacent devices;
receiving a transmission file fragment sent by each device in the target adjacent devices to obtain a plurality of transmission file fragments;
and performing data integration on the plurality of transmission file fragments to obtain the target file.
It can be understood that when the electronic device 300 sends a download request for a target file to each of the neighboring devices, if all of the neighboring devices cache the target file, the file information of the target file and the network status of the NAN are obtained. Then, the target file is divided based on the file information and the network state to determine a transmission file segment corresponding to each device in the target adjacent devices, the transmission file segments sent by the target adjacent devices are received to obtain a plurality of transmission file segments, and the data integration is performed on the plurality of transmission file segments to obtain the target file. That is to say, the target files to be downloaded by the electronic device 300 are cached in the target neighboring devices, and corresponding transmission file segments may be respectively allocated to the target neighboring devices based on the file information of the target files and the network state of the NAN, so that data integration is performed on the received transmission file segments, and then the electronic device 300 may obtain the complete target files, thereby improving the downloading speed and the transmission speed.
In one possible example, in terms of the determining the transmission file segment corresponding to each device in the plurality of target neighboring devices by dividing the target file based on the file information and the network status, the instructions in the program 340 are specifically configured to:
determining a target memory size based on the network state;
and dividing the target file according to the size of the target memory and the file information to determine a transmission file segment corresponding to each device in the plurality of target adjacent devices.
In one possible example, the network status includes a download parameter for each device in the plurality of target neighboring devices, and in the determining the target memory size based on the network status, the instructions in the program 340 are specifically configured to:
acquiring an evaluation value of each device in the plurality of target adjacent devices according to the download parameters of each device in the plurality of target adjacent devices to obtain a plurality of evaluation values;
acquiring a minimum value of the plurality of evaluation values;
and determining the size of the target memory according to the minimum value and the number of the target adjacent devices.
In one possible example, in the aspect of performing data integration on the multiple transmission file segments to obtain the target file, the instructions in the program 340 are specifically configured to perform the following operations:
determining an integration sequence corresponding to the plurality of transmission file fragments according to the plurality of evaluation values;
and performing data integration on the plurality of transmission file segments according to the integration sequence to obtain the target file.
In one possible example, the instructions in the program 340 are further operable to:
determining a transmission time length corresponding to each device in the target adjacent devices according to the plurality of evaluation values and the size of the target memory, wherein the plurality of target adjacent devices comprise detection target adjacent devices;
when the transmission duration corresponding to the detection target adjacent equipment is reached, if the transmission file segment corresponding to the detection target adjacent equipment is not received;
acquiring the transmission state of the detection target adjacent equipment;
if the transmission state is a fault, selecting candidate target adjacent equipment from the target adjacent equipment, and determining that the candidate target adjacent equipment also corresponds to the transmission file segment corresponding to the detection target adjacent equipment;
and receiving the transmission file segment corresponding to the detection target adjacent device sent by the candidate target adjacent device.
In one possible example, the instructions in the program 340 are further operable to:
obtaining a plurality of to-be-transmitted adjacent devices corresponding to the target file cached in the plurality of adjacent devices;
and verifying the plurality of to-be-transmitted adjacent devices to obtain the plurality of target adjacent devices which are successfully verified.
In one possible example, the plurality of to-be-transmitted neighboring devices include a reference neighboring device, and in terms of the plurality of target neighboring devices that are successfully verified by verifying the plurality of to-be-transmitted neighboring devices, the instructions in the program 340 are specifically configured to perform the following operations:
acquiring a connection record between the reference neighboring device and the electronic device 300;
extracting connection parameters between the reference proximity device and the electronic device 300 from the connection record;
determining an association value between the reference neighboring device and the electronic device 300 according to the connection parameter;
determining the reference neighboring device as the target neighboring device when the association value is greater than a first threshold value.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for causing a computer to execute a part or all of the steps of any one of the methods as described in the method embodiments, and the computer includes an electronic device.
Embodiments of the application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as recited in the method embodiments. The computer program product may be a software installation package and the computer comprises the electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art will also appreciate that the embodiments described in this specification are presently preferred and that no particular act or mode of operation is required in the present application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a hardware mode or a software program mode.
The integrated unit, if implemented in the form of a software program module and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A file downloading method is applied to an electronic device, the electronic device establishes a Neighbor Awareness Network (NAN) connection with a plurality of neighbor devices, and the method comprises the following steps:
sending a download request for a target file to each of the plurality of proximate devices;
if a plurality of target adjacent devices in the plurality of adjacent devices cache the target file, acquiring file information of the target file and the network state of the NAN; any one of the plurality of target neighboring devices caches complete data of the target file;
dividing the target file based on the file information and the network state, and determining a transmission file segment corresponding to each device in the plurality of target adjacent devices;
receiving a transmission file fragment sent by each device in the target adjacent devices to obtain a plurality of transmission file fragments;
and performing data integration on the plurality of transmission file fragments to obtain the target file.
2. The method of claim 1, wherein the partitioning the target file based on the file information and the network status to determine the transmission file segment corresponding to each of the plurality of target neighboring devices comprises:
determining a target memory size based on the network state;
and dividing the target file according to the size of the target memory and the file information, and determining a transmission file segment corresponding to each device in the plurality of target adjacent devices.
3. The method of claim 2, wherein the network status comprises download parameters for each of the plurality of target neighboring devices, and wherein determining a target memory size based on the network status comprises:
acquiring an evaluation value of each device in the plurality of target adjacent devices according to the downloading parameters of each device in the plurality of target adjacent devices to obtain a plurality of evaluation values;
acquiring a minimum value of the plurality of evaluation values;
and determining the size of the target memory according to the minimum value and the number of the target adjacent devices.
4. The method according to claim 3, wherein the data integration of the plurality of transmission file fragments to obtain the target file comprises:
determining an integration sequence corresponding to the plurality of transmission file fragments according to the plurality of evaluation values;
and performing data integration on the plurality of transmission file fragments according to the integration sequence to obtain the target file.
5. The method according to claim 3 or 4, characterized in that the method further comprises:
determining a transmission time length corresponding to each device in the target adjacent devices according to the plurality of evaluation values and the size of the target memory, wherein the plurality of target adjacent devices comprise detection target adjacent devices;
when the transmission duration corresponding to the detection target adjacent equipment is reached, if the transmission file segment corresponding to the detection target adjacent equipment is not received;
acquiring the transmission state of the detection target adjacent equipment;
if the transmission state is a fault, selecting candidate target adjacent equipment from the target adjacent equipment, and determining the candidate target adjacent equipment and a transmission file segment corresponding to the detected target adjacent equipment;
and receiving the transmission file segment corresponding to the detection target adjacent device sent by the candidate target adjacent device.
6. The method according to any one of claims 1-4, further comprising:
obtaining a plurality of to-be-transmitted adjacent devices corresponding to the target file cached in the plurality of adjacent devices;
and verifying the plurality of to-be-transmitted adjacent devices to obtain the plurality of target adjacent devices which are successfully verified.
7. The method according to claim 6, wherein the plurality of neighboring devices to be transmitted include reference neighboring devices, and the verifying the plurality of neighboring devices to be transmitted to obtain the plurality of target neighboring devices successfully verified comprises:
acquiring a connection record between the reference neighboring device and the electronic device;
extracting connection parameters between the reference proximity device and the electronic device from the connection record;
determining an association value between the reference neighboring device and the electronic device according to the connection parameter;
determining the reference neighboring device as the target neighboring device when the association value is greater than a first threshold value.
8. A file downloading device applied to an electronic device, wherein the electronic device establishes a Neighbor Awareness Network (NAN) connection with a plurality of neighboring devices, the device comprising:
a communication unit for transmitting a download request for a target file to each of the plurality of neighboring devices;
a processing unit, configured to obtain file information of the target file and a network state of the NAN if the target file is cached in each of the target neighboring devices; dividing the target file based on the file information and the network state, and determining a transmission file segment corresponding to each device in the plurality of target adjacent devices; any one of the plurality of target neighboring devices caches complete data of the target file;
the communication unit is further configured to receive a transmission file segment sent by each device in the target neighboring devices, and obtain a plurality of transmission file segments;
the processing unit is further configured to perform data integration on the plurality of transmission file segments to obtain the target file.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1-7.
10. A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to perform the method according to any one of claims 1-7.
CN201810857279.3A 2018-07-31 2018-07-31 File downloading method and related product Active CN109246185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810857279.3A CN109246185B (en) 2018-07-31 2018-07-31 File downloading method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810857279.3A CN109246185B (en) 2018-07-31 2018-07-31 File downloading method and related product

Publications (2)

Publication Number Publication Date
CN109246185A CN109246185A (en) 2019-01-18
CN109246185B true CN109246185B (en) 2021-03-12

Family

ID=65073301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810857279.3A Active CN109246185B (en) 2018-07-31 2018-07-31 File downloading method and related product

Country Status (1)

Country Link
CN (1) CN109246185B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660632A (en) * 2019-01-21 2019-04-19 联动优势电子商务有限公司 A kind of document down loading method and system
CN110825402B (en) * 2019-09-26 2021-06-22 华为技术有限公司 Method and device for downloading data packet
CN112769887B (en) * 2019-11-06 2023-05-09 佛山市云米电器科技有限公司 File downloading method, system, equipment and computer readable storage medium
CN110958325B (en) * 2019-12-11 2021-08-17 联想(北京)有限公司 Control method, control device, server and terminal
CN114189560A (en) * 2020-08-28 2022-03-15 北京金山云网络技术有限公司 Resource transmission method and device, storage medium and electronic device
CN114143307B (en) * 2021-11-29 2024-05-31 广州宸祺出行科技有限公司 Method and system for efficiently and completely transmitting network contract travel record data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607667A (en) * 2013-11-15 2014-02-26 南京云川信息技术有限公司 A slicing method for SVC video files in a P2P streaming media system
CN104580371A (en) * 2014-12-10 2015-04-29 北京邮电大学 Methods of fragmentation, transmission and copy control for file fixed size and changeable size in opportunistic network
CN106993054A (en) * 2017-05-05 2017-07-28 腾讯科技(深圳)有限公司 Document distribution method, node and system
CN107222554A (en) * 2017-06-27 2017-09-29 山东中创软件商用中间件股份有限公司 A kind of document transmission method and system
CN107277134A (en) * 2017-06-19 2017-10-20 网宿科技股份有限公司 A kind of data transmission method and system based on peer-to-peer network
CN109040213A (en) * 2018-07-23 2018-12-18 Oppo广东移动通信有限公司 Document down loading method and Related product

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140003960A (en) * 2012-07-02 2014-01-10 삼성전자주식회사 File sharing method of peer to peer system and apparatus thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607667A (en) * 2013-11-15 2014-02-26 南京云川信息技术有限公司 A slicing method for SVC video files in a P2P streaming media system
CN104580371A (en) * 2014-12-10 2015-04-29 北京邮电大学 Methods of fragmentation, transmission and copy control for file fixed size and changeable size in opportunistic network
CN106993054A (en) * 2017-05-05 2017-07-28 腾讯科技(深圳)有限公司 Document distribution method, node and system
CN107277134A (en) * 2017-06-19 2017-10-20 网宿科技股份有限公司 A kind of data transmission method and system based on peer-to-peer network
CN107222554A (en) * 2017-06-27 2017-09-29 山东中创软件商用中间件股份有限公司 A kind of document transmission method and system
CN109040213A (en) * 2018-07-23 2018-12-18 Oppo广东移动通信有限公司 Document down loading method and Related product

Also Published As

Publication number Publication date
CN109246185A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
CN109246185B (en) File downloading method and related product
CN109040213B (en) File downloading method and related product
JP2018514139A (en) Method for determining, using and apparatus for D2D relay node
CN109743783B (en) Data transmission control method and related product
CN107707538B (en) Data transmission method and device, mobile terminal and computer readable storage medium
KR101903533B1 (en) Service quality index calculation method and calculation apparatus, and communications system
CN108282846B (en) Service request processing method and device
US10004059B2 (en) Service advertisement message transmission method and device
CN109561138B (en) File downloading method and related product
CN107182098B (en) Method and equipment for realizing switching of user equipment between wireless access points
CN105430711B (en) Transmission method, device and the equipment of information
CN111263338A (en) Network distribution method of Bluetooth Mesh network and related network distribution equipment and system
CN109040050B (en) Data interaction method and related product
CN107645789A (en) The method, apparatus and system of networking
JP6182060B2 (en) Content distribution system and content distribution method
WO2016029872A1 (en) Near field discovery method, user equipment, and storage medium
CN109120677B (en) File downloading method and related product
CN109803454B (en) Data transmission control method and related product
CN110266674A (en) A kind of Intranet access method and relevant apparatus
CN113784371A (en) Communication method and device
CN108270724B (en) Method, device and system for acquiring access information of shared wireless access point
CN109275125B (en) Resource sharing method, device, equipment and storage medium
CN109890000B (en) Internet of things system architecture and data communication method
CN109151790B (en) Bluetooth device connection method and system based on network security
WO2022262445A1 (en) Method and apparatus for acquiring positioning information, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant