WO2020216059A1 - 网络资源共享方法及相关装置 - Google Patents

网络资源共享方法及相关装置 Download PDF

Info

Publication number
WO2020216059A1
WO2020216059A1 PCT/CN2020/083576 CN2020083576W WO2020216059A1 WO 2020216059 A1 WO2020216059 A1 WO 2020216059A1 CN 2020083576 W CN2020083576 W CN 2020083576W WO 2020216059 A1 WO2020216059 A1 WO 2020216059A1
Authority
WO
WIPO (PCT)
Prior art keywords
lora
information
network resource
network
electronic device
Prior art date
Application number
PCT/CN2020/083576
Other languages
English (en)
French (fr)
Inventor
杨鑫
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP20794053.7A priority Critical patent/EP3934328A4/en
Publication of WO2020216059A1 publication Critical patent/WO2020216059A1/zh
Priority to US17/484,832 priority patent/US20220015026A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/02Resource partitioning among network components, e.g. reuse partitioning
    • H04W16/06Hybrid resource partitioning, e.g. channel borrowing
    • H04W16/08Load shedding arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/02Resource partitioning among network components, e.g. reuse partitioning
    • H04W16/10Dynamic resource partitioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • This application relates to the field of electronic technology, and in particular to a network resource sharing method and related devices.
  • the electronic device When the electronic device is in some special scenes, the number of network connections of the base station within the scope of the scene is limited, and the mobile network resources are also limited. When the number of network connection devices exceeds the network connection resource limit, the electronic device cannot successfully establish a network connection. It is difficult for devices to smoothly obtain network resources that need to be accessed through mobile networks. Electronic equipment can use the LORA communication module to establish a MESH network with multiple LORA devices in the same scene.
  • the embodiments of the present application provide a network resource sharing method and related devices, which are beneficial to realize resource sharing between multiple devices in the same LORA sharing scenario.
  • an embodiment of the present application provides a network resource sharing method, which is applied to an electronic device provided with a long-distance wireless LORA communication module; the method includes:
  • the first information is broadcast to multiple LORA devices in the same LORA sharing scene with the electronic device, the first information includes the related information of the first network resource information;
  • the second information establish a mesh MESH network with at least one LORA device among the plurality of LORA devices through the LORA communication module;
  • an embodiment of the present application provides a network resource sharing device, which is applied to an electronic device, the electronic device is provided with a long-distance wireless LORA communication module; the network resource sharing device includes a processing unit and a communication unit, wherein,
  • the processing unit is configured to record the access waiting time when an access request for the first network resource is detected; and to record the access waiting time when it is detected that the access waiting time is greater than a preset time period, to and from the electronic device Multiple LORA devices in the LORA sharing scene broadcast first information, the first information including information about the first network resource; and for receiving second information from at least one LORA device, the second information is used for Means that the at least one LORA device and the electronic device have the same network resource access requirements; and used to communicate with at least one LORA device of the plurality of LORA devices through the LORA communication module according to the second information Establishing a mesh MESH network; and for sharing the first network resource with LORA devices in the MESH network.
  • embodiments of the present application provide an electronic device, including 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 processed by the above
  • the above-mentioned program includes instructions for executing the steps in any method of the first aspect of the embodiments of the present application.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the foregoing computer-readable storage medium stores a computer program for electronic data exchange, wherein the foregoing computer program enables a computer to execute In one aspect, some or all of the steps described in any method.
  • embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute For example, some or all of the steps described in any method of the first aspect.
  • the computer program product may be a software installation package.
  • the electronic device first records the access waiting time when detecting an access request for the first network resource, and secondly, when detecting that the access waiting time is greater than the preset time length,
  • the multiple LORA devices of the electronic device in the same LORA sharing scene broadcast first information, where the first information includes information related to the first network resource, and then receive second information from at least one LORA device, so The second information is used to indicate that the at least one LORA device and the electronic device have the same network resource access requirements, and then, according to the second information, communicate with one of the multiple LORA devices through the LORA communication module
  • At least one LORA device establishes a mesh MESH network, and finally, shares the first network resource with the LORA device in the MESH network.
  • FIG. 1A is a reference schematic diagram of a MESH networking provided by an embodiment of the present application.
  • FIG. 1B is a schematic flowchart of a network resource sharing method provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of another network resource sharing method provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another network resource sharing method provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Fig. 5 is a block diagram of functional units of a network resource sharing device provided by an embodiment of the present application.
  • the electronic devices involved in the embodiments of the present application may be electronic devices with the ability to share network resources.
  • the electronic devices may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or connected to wireless modems.
  • UE User Equipment
  • MS Mobile Station
  • terminal device terminal device
  • the electronic device is equipped with a long-distance wireless LORA communication module, which can establish a communication connection with the LORA device through the point-to-point communication mode and the networking communication mode.
  • the electronic device works in the networking communication mode, in the networking communication mode, the electronic device establishes a MESH networking with multiple LORA devices in the same LORA sharing scenario through the LORA communication module.
  • FIG. 1A is a reference example diagram of the MESH networking 100.
  • the electronic device 101 and the LORA device 102, the LORA device 103, the LORA device 104, the LORA device 105 the electronic device 101 and the LORA device 102, the LORA device 103, the LORA device 104, the LORA device 105.
  • the LORA device 106 and the LORA device 107 are all in the MESH networking 100, and the electronic device can communicate with any one of them through a communication link.
  • the LORA device performs network communication.
  • Figure 1A includes 3 relay links.
  • the first relay link is electronic device 101-LORA device 103-first LORA device 102
  • the second relay link is electronic device 101-LORA device 106-LORA device 104-first LORA device 102
  • the third relay link is electronic device 101-LORA device 106-LORA device 107-LORA device 105-first LORA device 102
  • three relay chains The communication request sent by the electronic device 101 to the first LORA device 102 is relayed through 1 LORA device, 2 LORA devices, and 3 LORA devices respectively.
  • text interaction, voice interaction, and video interaction can be performed between any two nodes in each relay link.
  • the communication distance is 3 kilometers; when performing voice interaction, it is full-duplex real-time Voice communication, the communication distance is 1 km, each LORA device can be used as a communication node of 5 relay links; during video interaction, it is half-duplex real-time video communication, the communication distance is 500 meters, and each LORA device It can be used as a communication node for 5 relay links.
  • FIG. 1B is a schematic flowchart of a network resource sharing method provided by an embodiment of the present application, which is applied to an electronic device provided with a long-distance wireless LORA communication module.
  • the network resource sharing methods include:
  • the existing LORA technology can support the point-to-point communication of mobile terminals or equipment in places without mobile base stations, and mesh MESH networking communication.
  • the LORA technology can also provide a relay function, that is, between two or more LORA devices.
  • Other LORA devices can be used for relay transmission when the signal is transmitted between. Therefore, in the case of limited mobile network resources, electronic devices can use the LORA communication module and multiple LORA devices to establish a MESH network, so that LORA devices with poor network status can use LORA devices with good network status to obtain the required network resources , Through the MESH networking, it can meet the access requests of multiple LORA devices in the MESH networking to the same network resources.
  • the access waiting time can be recorded.
  • the access waiting time may be shorter, and when the network state is poor , The access waiting time may be long, but the access waiting time is also affected by other factors.
  • the access waiting time is long, the electronic device may not be able to access the first network resource.
  • the electronic device can locate the current scene and determine the current LORA sharing scene. For example, concert scenes, large-scale competition scenes, station scenes, movie theater scenes, etc. can all be included in the LORA shared scene list.
  • the electronic device broadcasts first information to multiple LORA devices in the current LORA sharing scene.
  • the first information includes information related to the first resource, for example, Information such as the network link and resource name of the first network resource.
  • the electronic device receives second information from at least one LORA device, where the second information is used to indicate that the at least one LORA device has the same network resource access requirement as the electronic device.
  • At least one LORA device is not only in the same LORA sharing scene with the electronic device, but also accessed by the same network resource as the electronic device. Request, that is, access to the first network resource.
  • the electronic device establishes a mesh MESH network with at least one LORA device among the plurality of LORA devices through the LORA communication module according to the second information.
  • the electronic device can establish a MESH network with at least one of the multiple LORA devices. Specifically, it can establish a MESH network with all of the multiple LORA devices, or with multiple LORA devices. Some LORA devices in the equipment establish MESH networking.
  • each terminal accesses the network through a wireless link connected to the wireless access point AP. If users want to talk to each other, they must first visit a fixed access point.
  • This network structure is Single-hop network.
  • any wireless device node can act as an AP and a router at the same time. Each node in the network can send and receive signals. Therefore, if the nearest AP is congested due to excessive traffic, That data can be automatically rerouted to a neighboring node with less communication traffic for transmission.
  • wireless MESH networks remove the wiring requirements between nodes, but still have the redundancy provided by distributed networks. Mechanism and rerouting function.
  • the electronic device shares the first network resource with the LORA device in the MESH network.
  • the electronic device first records the access waiting time when detecting an access request for the first network resource, and secondly, when detecting that the access waiting time is greater than the preset time length,
  • the multiple LORA devices of the electronic device in the same LORA sharing scene broadcast first information, where the first information includes information related to the first network resource, and then receive second information from at least one LORA device, so The second information is used to indicate that the at least one LORA device and the electronic device have the same network resource access requirements, and then, according to the second information, communicate with one of the multiple LORA devices through the LORA communication module
  • At least one LORA device establishes a mesh MESH network, and finally, shares the first network resource with the LORA device in the MESH network.
  • the LORA sharing scene is a concert scene; the broadcasting the first information to multiple LORA devices in the same LORA sharing scene as the electronic device includes: determining the concert scene association Search for multiple LORA devices within the preset area range, and establish at least one relay link with the multiple LORA devices; say to the person through the at least one relay link
  • the LORA device broadcasts the first information.
  • LORA sharing scenes can include concert scenes, competition scenes, station scenes, movie theater scenes and other densely crowded scenes, and there are scenes where multiple LORA devices have Internet access requirements, which can be set by the user in advance, through positioning, photo recognition and other methods
  • the current scene of the electronic device can be identified.
  • When detecting that the current electronic device is in the concert scene first determine the preset area range associated with the concert scene, then search for the LORA devices within the preset range, determine the number of LORA devices, and different LORA share the preset associated with the scene
  • the area range may be different. For example, the density of people in a concert scene may be greater than that in a station scene, because the preset scene range associated with the concert scene may be larger than the preset scene range associated with the station scene.
  • the electronic device after the electronic device searches for multiple LoRa devices within a preset range, it can establish at least one relay link with multiple LoRa devices, and each communication link can include multiple LoRa devices, so the electronic device can pass through at least one The relay link broadcasts the first information to multiple LORA devices, so that each LORA device can receive the first information, instead of sending the first information to each LORA device one by one.
  • the electronic device can search for multiple LORA devices within the preset range to establish at least one relay link with the multiple LORA devices.
  • At least one communication link can send the first information to each of the multiple LORA devices, which is beneficial to improving data transmission efficiency.
  • the second information further includes network status information of the at least one LORA device; the method further includes: according to the network status information of the at least one LORA device and the network status of the electronic device Information to form a network status list, where the network status list is used to indicate the network quality ranking of the electronic device and the at least one LORA device; stop when it is detected that the network quality ranking of the electronic device is lower than a preset threshold Access the first network resource through a mobile network.
  • the second information may also include network status information of each LORA device in at least one LORA device, and the network status information may include information such as network speed, data transmission speed, etc., according to the network status information of the at least one LORA device and the network status of the electronic device.
  • the status information can form a network status list, and the network quality ranking of the electronic device and at least one LORA device can be determined through the network status list. If it is detected that the network quality ranking of the electronic device is lower than a preset threshold, for example, lower than the top 10 or lower In the top 10%, it can be seen that the network quality of the electronic device is not particularly good. At this time, the electronic device can be controlled to stop accessing the first network resource through the mobile network.
  • the network quality ranking of the electronic device in at least one LORA device is determined through the network status information of the electronic device and at least one LORA device, so that the electronic device can be controlled to stop access when the network quality ranking of the electronic device is not good
  • the first network resource in turn, can obtain the first network resource through the LORA device in the MESH network, while reducing the pressure on the network server.
  • the sharing the first network resource with the LORA device in the MESH networking includes: receiving third information multicasted by the first target LORA device in the MESH networking, The third information is used to indicate that the first target LORA device successfully accesses the first network resource; the first target LORA device is used to access the first network resource.
  • the electronic device stops accessing the first network resource through the mobile network, the first network resource can only be obtained through the sharing of at least one LORA device in the MESH network.
  • the third information is multicast by the LORA device, it indicates that the first target LORA device has successfully accessed the first network resource. Therefore, the electronic device can access the first network resource through the first target LORA device.
  • multiple devices in the MESH network are using the Youku video application and watching the same movie resource online.
  • the network status of the LORA device A is better and the movie resource has been downloaded.
  • LORA device A will multicast the third information to the devices in the MESH network.
  • the electronic device can watch the movie through LORA device A.
  • the Other LORA devices can also watch the movie through LORA device A.
  • the first target LORA device in the MESH network when it successfully accesses the first network resource, it will multicast the third information to other devices in the MESH network, so that the electronic device receives the third information After information, the first network resource can be accessed through the first target device.
  • the accessing the first network resource through the first target LORA device includes: when detecting that the first target LORA device includes multiple LORA devices, determining the first target The current access load of each LORA device in the LORA device; access to the first network resource through the target LORA device with the smallest access load.
  • LORA device A can download part of the movie
  • LORA device B can download another part of the movie
  • LORA device A and LORA device B can access each other for resource fees.
  • both LORA device A and LORA device B can broadcast the third information, and the electronic device can be obtained through LORA device A or LORA device B The movie resource.
  • the electronic device can first determine the access load of the LORA device A and the access load of the LORA device B, because there may be LORA devices in the MESH network that have initiated access requests to the LORA device A and LORA device B first, in order to improve Access efficiency, the electronic device can access the first network resource through the LORA device A and the LORA device B with a smaller load.
  • the electronic device when it is detected that the electronic device can access the first network resource through more than one LORA device in the MESH network, the LORA device with the smallest access load among the first target LORA device can be determined first, and then the Lora equipment realizes access to the first network resource, thereby realizing the even distribution of resources.
  • the sharing the first network resource with the LORA device in the MESH network includes: after detecting that the electronic device has successfully accessed the first network resource through the mobile network, The LORA device in the MESH networking multicasts fourth information, and the fourth information is used to notify the LORA device in the MESH networking that the electronic device has successfully accessed the first network resource.
  • the members in the network can share resources. Since both the electronic device and at least one LORA device want to access the first network resource, after the electronic device successfully accesses the first network resource through the mobile network, it can send the fourth information like the LORA device in the MESH network, so that the MESH The LORA devices in the network can access the first network resources through electronic devices.
  • the electronic device and at least one LORA device establish a MESH network
  • resources can be shared between the devices. Therefore, after the electronic device obtains the first network resource, the fourth information can be multicast, and the The first network resource is shared with the LORA device in the MESH network that has not obtained the first network resource.
  • the method further includes: receiving fifth information unicasted from a second target LORA device in the MESH network, where the fifth information includes the waiting status of the second target LORA device.
  • Information about the accessed second network resource when it is detected that the electronic device has downloaded the second network resource, respond to the second target LORA device and send the second target LORA device to the second target LORA device. Internet resources.
  • the ways for electronic devices to send information include broadcast, multicast, and unicast. They can broadcast information, that is, send information to any number of LORA devices, or multicast information, that is, send information to each LORA device in the MESH network. , You can also unicast information, that is, send information to a LORA device.
  • the electronic device when the electronic device receives the fifth information sent by the second target LORA device in the MESH network, it determines that the second target LORA device wants to access the second network resource. If the electronic device downloads the second network resource, it can The second network resource is directly shared to the second target LORA device.
  • the electronic device can not only share the first network resource through the MESH network, but also when it receives the fifth information used to obtain the second network resource from the LORA device in the MESH network, the downloaded The second network resource is shared with the second target LORA device, thereby helping the second target LORA device to quickly obtain the second network resource.
  • FIG. 2 is a schematic flowchart of a network resource sharing method provided by an embodiment of the present application, which is applied to an electronic device that is provided with a remote Wireless LORA communication module. As shown in the figure, this network resource sharing method includes:
  • S203 The electronic device receives second information from at least one LORA device, where the second information is used to indicate that the at least one LORA device and the electronic device have the same network resource access requirements.
  • the electronic device establishes a mesh MESH network with at least one LORA device among the plurality of LORA devices through the LORA communication module according to the second information.
  • the electronic device receives third information multicasted by the first target LORA device in the MESH network, where the third information is used to indicate that the first target LORA device successfully accesses the first network resource .
  • S206 The electronic device accesses the first network resource through the first target LORA device.
  • the electronic device first records the access waiting time when detecting an access request for the first network resource, and secondly, when detecting that the access waiting time is greater than the preset time length,
  • the multiple LORA devices of the electronic device in the same LORA sharing scene broadcast first information, where the first information includes information related to the first network resource, and then receive second information from at least one LORA device, so The second information is used to indicate that the at least one LORA device and the electronic device have the same network resource access requirements, and then, according to the second information, communicate with one of the multiple LORA devices through the LORA communication module
  • At least one LORA device establishes a mesh MESH network, and finally, shares the first network resource with the LORA device in the MESH network.
  • the first target LORA device in the MESH network when the first target LORA device in the MESH network successfully accesses the first network resource, it will multicast the third information to other devices in the MESH network, so that the electronic device can pass the third information after receiving the third information.
  • the first target device accesses the first network resource.
  • FIG. 3 is a schematic flowchart of a network resource sharing method provided by an embodiment of the present application, which is applied to an electronic device, and the electronic device is set There is a long-distance wireless LORA communication module.
  • this network resource sharing method includes:
  • the electronic device receives second information from at least one LORA device, where the second information is used to indicate that the at least one LORA device and the electronic device have the same network resource access requirements.
  • the electronic device establishes a mesh MESH network with at least one LORA device among the plurality of LORA devices through the LORA communication module according to the second information.
  • the electronic device receives third information multicasted by the first target LORA device in the MESH network, where the third information is used to indicate that the first target LORA device successfully accesses the first network resource .
  • S306 The electronic device accesses the first network resource through the first target LORA device.
  • the electronic device receives fifth information unicast from the second target LORA device in the MESH network, where the fifth information includes information about the second network resource to be accessed by the second target LORA device.
  • the fifth information includes information about the second network resource to be accessed by the second target LORA device.
  • the electronic device first records the access waiting time when detecting an access request for the first network resource, and secondly, when detecting that the access waiting time is greater than the preset time length,
  • the multiple LORA devices of the electronic device in the same LORA sharing scene broadcast first information, where the first information includes information related to the first network resource, and then receive second information from at least one LORA device, so The second information is used to indicate that the at least one LORA device and the electronic device have the same network resource access requirements, and then, according to the second information, communicate with one of the multiple LORA devices through the LORA communication module
  • At least one LORA device establishes a mesh MESH network, and finally, shares the first network resource with the LORA device in the MESH network.
  • the first target LORA device in the MESH network when the first target LORA device in the MESH network successfully accesses the first network resource, it will multicast the third information to other devices in the MESH network, so that the electronic device can pass the third information after receiving the third information.
  • the first target device accesses the first network resource.
  • the electronic device can not only share the first network resource through the MESH network, but also can use the downloaded second network resource when receiving the fifth information used to obtain the second network resource from the LORA device in the MESH network. Share with the second target LORA device, thereby helping the second target LORA device to quickly obtain the second network resource.
  • FIG. 4 is a schematic structural diagram of an electronic device 400 provided by an embodiment of the present application.
  • the electronic device 400 has one or Multiple application programs and operating systems.
  • the electronic device 400 includes a processor 410, a memory 420, a communication interface 430, and one or more programs 421, wherein the one or more programs 421 are stored in the In the memory 420 and configured to be executed by the processor 410, the one or more programs 421 include instructions for executing the following steps;
  • the first information is broadcast to multiple LORA devices in the same LORA sharing scene with the electronic device, the first information includes the related information of the first network resource information;
  • the second information establish a mesh MESH network with at least one LORA device among the plurality of LORA devices through the LORA communication module;
  • the electronic device first records the access waiting time when detecting an access request for the first network resource, and secondly, when detecting that the access waiting time is greater than the preset time length,
  • the multiple LORA devices of the electronic device in the same LORA sharing scene broadcast first information, where the first information includes information related to the first network resource, and then receive second information from at least one LORA device, so The second information is used to indicate that the at least one LORA device and the electronic device have the same network resource access requirements, and then, according to the second information, communicate with one of the multiple LORA devices through the LORA communication module
  • At least one LORA device establishes a mesh MESH network, and finally, shares the first network resource with the LORA device in the MESH network.
  • the LORA sharing scene is a concert scene; in terms of broadcasting the first information to multiple LORA devices in the same LORA sharing scene as the electronic device, the instructions in the program It is specifically configured to perform the following operations: determine the preset area range associated with the concert scene; search for multiple LORA devices within the preset area range, and establish at least one relay link with the multiple LORA devices; Broadcasting the first information to the one LORA device through the at least one relay link.
  • the second information further includes the network status information of the at least one LORA device; the instructions in the program are specifically used to perform the following operations: according to the network status information of the at least one LORA device and The network status information of the electronic device forms a network status list, and the network status list is used to indicate the network quality ranking of the electronic device and the at least one LORA device; when it is detected that the network quality ranking of the electronic device is low When the preset threshold is reached, stop accessing the first network resource through the mobile network.
  • the instructions in the program are specifically used to perform the following operations:
  • the third information multicasted by the first target LORA device the third information is used to indicate that the first target LORA device successfully accesses the first network resource; the first target LORA device accesses the first network resource Internet resources.
  • the instructions in the program are specifically used to perform the following operations: when the first target LORA device is detected When multiple LORA devices are included, determine the current access load of each LORA device in the first target LORA device; access the first network resource through the target LORA device with the smallest access load.
  • the instructions in the program are specifically used to perform the following operations: when the first target LORA device is detected When multiple LORA devices are included, the current access load of each LORA device in the first target LORA device is determined; according to the current access load of each LORA device, the multiple LORA devices are used to access all the devices.
  • the first network resource when the first target LORA device is detected When multiple LORA devices are included, the current access load of each LORA device in the first target LORA device is determined; according to the current access load of each LORA device, the multiple LORA devices are used to access all the devices.
  • the first network resource when the first target LORA device is detected When multiple LORA devices are included, the current access load of each LORA device in the first target LORA device is determined; according to the current access load of each LORA device, the multiple LORA devices are used to access all the devices.
  • the instructions in the program are specifically used to perform the following operations: after detecting that the electronic device passes through After the mobile network successfully accesses the first network resource, it multicasts fourth information to the LORA device in the MESH network, and the fourth information is used to notify the LORA device in the MESH network that the electronic device has successfully accessed The first network resource.
  • the instructions in the program are specifically used to perform the following operations: receiving fifth information unicast from the second target LORA device in the MESH networking, where the fifth information includes all Related information of the second network resource to be accessed by the second target LORA device; when it is detected that the electronic device has downloaded the second network resource, respond to the second target LORA device and send it to the second target LORA The device sends the second network resource.
  • the LORA sharing scene includes at least one of the following: a concert scene, a competition scene, a station scene, and a movie theater scene.
  • the electronic device includes hardware structures and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • the embodiment of the present application may divide the electronic device into functional units according to the method example.
  • each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 5 is a block diagram of the functional unit composition of the network resource sharing device 500 involved in an embodiment of the present application.
  • the network resource sharing apparatus 500 is applied to electronic equipment, and includes a processing unit 501 and a communication unit 502, where:
  • the processing unit 501 is configured to record the access waiting time when an access request for the first network resource is detected; and to record the access waiting time when it is detected that the access waiting time is greater than a preset time length, to communicate with the electronic device Multiple LORA devices in the same LORA sharing scene broadcast first information, where the first information includes information about the first network resource; and is used to receive second information from at least one LORA device, the second information Used to indicate that the at least one LORA device and the electronic device have the same network resource access requirements; and used to communicate with at least one LORA of the plurality of LORA devices through the LORA communication module according to the second information
  • the device establishes a mesh MESH network; and is used to share the first network resource with the LORA devices in the MESH network.
  • the network resource sharing apparatus 500 may further include a storage unit 503 for storing program codes and data of electronic equipment.
  • the processing unit 501 may be a processor
  • the communication unit 502 may be a touch screen or a transceiver
  • the storage unit 503 may be a memory.
  • the electronic device first records the access waiting time when detecting an access request for the first network resource, and secondly, when detecting that the access waiting time is greater than the preset time length,
  • the multiple LORA devices of the electronic device in the same LORA sharing scene broadcast first information, where the first information includes information related to the first network resource, and then receive second information from at least one LORA device, so The second information is used to indicate that the at least one LORA device and the electronic device have the same network resource access requirements, and then, according to the second information, communicate with one of the multiple LORA devices through the LORA communication module
  • At least one LORA device establishes a mesh MESH network, and finally, shares the first network resource with the LORA device in the MESH network.
  • the LORA sharing scene is a concert scene; in the aspect of broadcasting the first information to multiple LORA devices in the same LORA sharing scene as the electronic device, the processing unit 501 specifically uses To: determine the preset area range associated with the concert scene; and search for multiple LORA devices within the preset area range, and establish at least one relay link with the multiple LORA devices; and Broadcasting the first information to the one LORA device through the at least one relay link.
  • the second information further includes the network status information of the at least one LORA device;
  • the processing unit 501 is specifically configured to: according to the network status information of the at least one LORA device and the electronic device To form a network status list, where the network status list is used to indicate the network quality ranking of the electronic device and the at least one LORA device; and used to indicate that the network quality ranking of the electronic device is lower than When the threshold is preset, stop accessing the first network resource through the mobile network.
  • the processing unit 501 is specifically configured to: receive the first target in the MESH network Third information multicast by the LORA device, the third information being used to indicate that the first target LORA device successfully accessed the first network resource; and used to access the first network through the first target LORA device Resources.
  • the processing unit 501 is specifically configured to: when detecting that the first target LORA device includes multiple LORA Determining the current access load of each LORA device in the first target LORA device; and for accessing the first network resource through the target LORA device with the smallest access load.
  • the processing unit 501 is specifically configured to: when detecting that the first target LORA device includes multiple LORA Device, determine the current access load of each LORA device in the first target LORA device; and used to access the multiple LORA devices according to the current access load of each LORA device The first network resource.
  • the processing unit 501 is specifically configured to: when it is detected that the electronic device successfully accesses the network through the mobile network After the first network resource, fourth information is multicast to the LORA device in the MESH network, and the fourth information is used to notify the LORA device in the MESH network that the electronic device has successfully accessed the first Internet resources.
  • the processing unit 501 is specifically configured to receive fifth information unicast from a second target LORA device in the MESH network, where the fifth information includes the second target Information about the second network resource to be accessed by the LORA device; and used for responding to the second target LORA device and sending it to the second target LORA device when it is detected that the electronic device has downloaded the second network resource Sending the second network resource.
  • the LORA sharing scene includes at least one of the following: a concert scene, a competition scene, a station scene, and a movie theater scene.
  • An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method as recorded in the above method embodiment ,
  • the aforementioned computer includes electronic equipment.
  • the embodiments of the present application also provide a computer program product.
  • the above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program.
  • the above-mentioned computer program is operable to cause a computer to execute any of the above method embodiments. Part or all of the steps of the method.
  • the computer program product may be a software installation package, and the above-mentioned computer includes electronic equipment.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the above-mentioned units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
  • the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory.
  • the technical solution of the present application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, A number of instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the foregoing methods of the various embodiments of the present application.
  • the aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other various media that can store program codes.
  • the program can be stored in a computer-readable memory, and the memory can include: flash disk , Read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disc, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种网络资源共享方法及相关装置,应用于电子设备,所述电子设备设置有远距离无线LORA通信模块,所述方法包括:在检测到针对第一网络资源的访问请求时,记录访问等待时长;在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息;接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求;根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网;与所述MESH组网中的LORA设备共享所述第一网络资源。本申请有利于实现同一LORA共享场景下多个设备之间的资源共享。

Description

网络资源共享方法及相关装置 技术领域
本申请涉及电子技术领域,尤其涉及一种网络资源共享方法及相关装置。
背景技术
当电子设备处于某些特殊场景时,场景范围内基站的网络连接数量有限,移动网络资源也是有限的,当网络连接设备数超过了网络连接资源限制时,电子设备无法成功建立网络连接,因此电子设备很难通过移动网络顺利获取到需要访问的网络资源。电子设备可以利用LORA通信模块与处于同一场景内的多个LORA设备建立MESH组网。
发明内容
本申请实施例提供一种网络资源共享方法及相关装置,有利于实现同一LORA共享场景下多个设备之间的资源共享。
第一方面,本申请实施例提供一种网络资源共享方法,应用于电子设备,所述电子设备设置有远距离无线LORA通信模块;所述方法包括:
在检测到针对第一网络资源的访问请求时,记录访问等待时长;
在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息;
接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求;
根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网;
与所述MESH组网中的LORA设备共享所述第一网络资源。
第二方面,本申请实施例提供一种网络资源共享装置,应用于电子设备,所述电子设备设置有远距离无线LORA通信模块;所述网络资源共享装置包括处理单元和通信单元,其中,
所述处理单元,用于在检测到针对第一网络资源的访问请求时,记录访问等待时长;以及用于在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息;以及用于接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求;以及用于根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网;以及用于与所述MESH组网中的LORA设备共享所述第一网络资源。
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面 任一方法中的步骤的指令。
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
可以看出,在本申请实施例中,电子设备首先在检测到针对第一网络资源的访问请求时,记录访问等待时长,其次,在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息,然后,接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求,接着,根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网,最后,与所述MESH组网中的LORA设备共享所述第一网络资源。由于电子设备可以通过LORA通信模块与处于同一LORA共享场景,且具有相同的网络资源访问需求的至少一个LORA设备建立MESH组网,进而可以通过MESH组网中的一个LORA设备使用移动网络获取网络资源,实现不同LORA设备之间的资源共享,满足MESH组网成员对网络资源的访问需求。
附图说明
为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。
图1A是本申请实施例提供的一种MESH组网的参考示意图;
图1B是本申请实施例提供的一种网络资源共享方法的流程示意图;
图2是本申请实施例提供的另一种网络资源共享方法的流程示意图;
图3是本申请实施例提供的另一种网络资源共享方法的流程示意图;
图4是本申请实施例提供的一种电子设备的结构示意图;
图5是本申请实施例提供的一种网络资源共享装置的功能单元组成框图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
以下分别进行详细说明。
本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术 语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
本申请实施例所涉及到的电子设备可以是具备网络资源共享能力的电子设备,该电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。
下面对本申请实施例进行详细介绍。
电子设备设置有远距离无线LORA通信模块,可以通过点对点通信模式和组网通信模式和LORA设备建立通信连接。当电子设备工作在组网通信模式时,在组网通信模式下,电子设备通过LORA通信模块与同一LORA共享场景下的多个LORA设备建立有MESH组网。如题1A所示,图1A为MESH组网100的参考示例图。在图1A中,电子设备101和LORA设备102、LORA设备103、LORA设备104、LORA设备105.LORA设备106、LORA设备107都在MESH组网100中,电子设备可以通过通信链路和任何一个LORA设备进行组网通信,图1A中包括3条中继链路,第一条中继链路为电子设备101-LORA设备103-第一LORA设备102,第二条中继链路为电子设备101-LORA设备106-LORA设备104-第一LORA设备102,第三条中继链路为电子设备101-LORA设备106-LORA设备107-LORA设备105-第一LORA设备102,三条中继链路分别通过1个LORA设备,2个LORA设备,3个LORA设备来中继电子设备101发送给第一LORA设备102的通信请求。其中,每条中继链路中任意两个节点之间可进行文本交互、语音交互和视频交互,在进行文本交互时,通信距离为3公里;在进行语音交互时,为全双工的实时语音通信,通信距离为1公里,每个LORA设备可作为5条中继链路的通信节点;在进行视频交互时,为半双工的实时视频通信,通信距离为500米,每个LORA设备可作为5条中继链路的通信节点。
请参阅图1B,图1B是本申请实施例提供了一种网络资源共享方法的流程示意图,应用于电子设备,所述电子设备设置有远距离无线LORA通信模块。本网络资源共享方法包括:
S101,所述电子设备在检测到针对第一网络资源的访问请求时,记录访问等待时长。
其中,现有LORA技术可以支持移动终端或者设备在没有移动基站的场所进行点对点通信,网状MESH组网通信,同时,LORA技术还可以提供中继功能,即在两个或者多个LORA设备之间传输的信号时可以利用其它LORA设备进行中转传输。因此,在移动网络资源有限的情况下,电子设备可以利用 LORA通信模块和多个LORA设备建立MESH组网,从而,网络状态差的LORA设备可以利用网络状态好的LORA设备来获取需要的网络资源,通过MESH组网,可以满足MESH组网内的多个LORA设备对相同网络资源的访问请求。
其中,在检测到电子设备针对第一网络资源的访问请求可,可以记录下访问等待时长,一般情况下,电子设备在网络状态较好时,访问等待时长可能较短,在网络状态较差时,访问等待时长可能较长,但是访问等待时长还会受其它因素的影响,当访问等待时长较长时,电子设备可能无法访问到第一网络资源。
S102,所述电子设备在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息。
其中,针对某些人群密集场所,可能有很多不同的电子设备访问相同的网络资源,因此,电子设备可以对当前的场景进行定位,确定当前所在的LORA共享场景。例如,演唱会场景、大型比赛赛事场景、车站场景、电影院场景等都可以列入LORA共享场景名单。
其中,在检测到访问等待时长大于预设时长时,电子设备向当前所处LORA共享场景中的多个LORA设备广播第一信息,所述第一信息包括第一资源的相关信息,例如可以包括第一网络资源的网络链接、资源名称等信息。
S103,所述电子设备接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求。
其中,电子设备在广播出第一信息后,会接收到来自至少一个LORA设备的第二信息,至少一个LORA设备不仅和电子设备处于同一个LORA共享场景,还和电子设备由相同的网络资源访问请求,即都要访问第一网络资源。
S104,所述电子设备根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网。
其中,电子设备根据第二信息,可以和多个LORA设备中的至少一个LORA设备建立MESH组网,具体可以和多个LORA设备中的全部LORA设备建立MESH组网,也可以是和多个LORA设备中的部分LORA设备建立MESH组网。
其中,在无线局域网中,每个终端均通过一条与无线接入点AP相连的无线链路来访问网络,用户如果要互相进行通话的话必须首先访问一个固定的接入点,这种网络结构为单跳网络,而在无线MESH网络中,任何无线设备节点都可以同时作为AP和路由器,网络中的每个节点都可以发送和接收信号,因此如果最近的AP由于流量过大而导致拥塞的话,那个数据可以自动重新路由到一个通信流量较小的邻近节点进行传输,与传统的交换式网络相比,无线MESH网络去掉了节点之间的布线需求,但仍具有分布式网络所提供的冗余机制和重新路由功能。
S105,所述电子设备与所述MESH组网中的LORA设备共享所述第一网络资源。
可以看出,在本申请实施例中,电子设备首先在检测到针对第一网络资源 的访问请求时,记录访问等待时长,其次,在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息,然后,接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求,接着,根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网,最后,与所述MESH组网中的LORA设备共享所述第一网络资源。由于电子设备可以通过LORA通信模块与处于同一LORA共享场景,且具有相同的网络资源访问需求的至少一个LORA设备建立MESH组网,进而可以通过MESH组网中的一个LORA设备使用移动网络获取网络资源,实现不同LORA设备之间的资源共享,满足MESH组网成员对网络资源的访问需求。
在一个可能的示例中,所述LORA共享场景为演唱会场景;所述向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,包括:确定所述演唱会场景关联的预设区域范围;搜索所述预设区域范围内的多个LORA设备,并与所述多个LORA设备建立至少一条中继链路;通过所述至少一条中继链路向所述说个LORA设备广播所述第一信息。
其中,LORA共享场景可以包括演唱会场景、比赛赛事场景、车站场景、电影院场景等人群密集,且有多个LORA设备具有上网需求的场景,可以由用户提前进行设置,通过定位,拍照识别等方法可以识别出电子设备当前所处的场景。在检测到当前电子设备处于演唱会场景时,首先确定演唱会场景关联的预设区域范围,进而搜索该预设范围内的LORA设备,确定LORA设备的数量,不同的LORA共享场景关联的预设区域范围可能不同,例如演唱会场景下的人员密度可能大于车站场景下的人员密度,因为演唱会场景关联的预设场景范围可能大于车站场景关联的预设场景范围。
其中,电子设备在预设范围内搜索到多个LORA设备后,可以与多个LORA设备建立至少一条中继链路,每条通信链路可以包括多个LORA设备,因此电子设备可以通过至少一条中继链路向多个LORA设备广播第一信息,使每个LORA设备都可以接收到第一信息,而不用逐个向每个LORA设备发送第一信息。
可见,本示例中,在确定当前所在的演唱会场景关联的预设范围后,电子设备可以搜索预设范围内的多个LORA设备从而与该多个LORA设备建立至少一条中继链路,通过至少一条通信链路可以向多个LORA设备中的每个LORA设备发送第一信息,有利于提高数据传输效率。
在一个可能的示例中,所述第二信息还包括所述至少一个LORA设备的网络状态信息;所述方法还包括:根据所述至少一个LORA设备的网络状态信息以及所述电子设备的网络状态信息,形成网络状态列表,所述网络状态列表用于表示所述电子设备和所述至少一个LORA设备的网络质量排名;在检测到所述电子设备的网络质量排名低于预设阈值时,停止通过移动网络访问所述第一网络资源。
其中,第二信息还可以包括至少一个LORA设备中每个LORA设备的网络状态信息,网络状态信息可以包括网速、数据传输速度等信息,根据至少一 个LORA设备的网络状态信息和电子设备的网络状态信息可以形成网络状态列表,通过网络状态列表可以确定电子设备和至少一个LORA设备的网路质量排名,若检测到电子设备的网络质量排名低于预设阈值,例如,低于前10或者低于前10%,可见电子设备的网络质量不是特别好,此时可以控制电子设备停止通过移动网络来访问所述第一网络资源。
可见,本示例中,通过电子设备和至少一个LORA设备的网络状态信息,确定电子设备在至少一个LORA设备中的网络质量排名,从而在电子设备的网络质量排名不好时可以控制电子设备停止访问第一网络资源,进而可以通过MESH组网中的LORA设备来获取第一网络资源,同时减轻网络服务器的压力。
在一个可能的示例中,所述与所述MESH组网中的LORA设备共享所述第一网络资源,包括:接收由所述MESH组网中的第一目标LORA设备组播的第三信息,所述第三信息用于表示所述第一目标LORA设备成功访问所述第一网络资源;通过所述第一目标LORA设备访问所述第一网络资源。
其中,由于电子设备停止通过移动网络来访问第一网络资源,因此,只能通过MESH组网中的至少一个LORA设备的分享来获取第一网络资源,在接收到MESH组网中的第一目标LORA设备组播的第三信息后,即表明第一目标LORA设备已经成功访问到了第一网络资源,因此,电子设备可以通过第一目标LORA设备来访问第一网络资源。举例说明,MESH组网中的多个设备都在使用优酷视频应用,并且在线观看同一个电影资源,电子设备停止访问该电子资源后,LORA设备A的网络状态较好已经下载完成了该电影资源,LORA设备A会向MESH组网中的设备组播第三信息,则电子设备接收到LORA设备A发送的第三信息后,可以通过LORA设备A来观看该电影,同时,MESH组网中的其他LORA设备也可以通过LORA设备A来观看该电影。
可见,本示例中,当MESH组网中的第一目标LORA设备成功过访问第一网络资源后,会向MESH组网中的其它设备组播第三信息,从而,电子设备在接收到第三信息后可以通过第一目标设备来访问第一网络资源。
在一个可能的示例中,所述通过所述第一目标LORA设备访问所述第一网络资源,包括:在检测到所述第一目标LORA设备包括多个LORA设备时,确定所述第一目标LORA设备中的每个LORA设备当前的访问负载量;通过所述访问负载量最小的目标LORA设备访问所述第一网络资源。
其中,另一种可能的情况中,LORA设备A和LORA设备B的网络状态都很好,因此,LORA设备A可以下载电影的一部分,LORA设备B可以下载电影的另一部分,且LORA设备A和LORA设备B之间可以互相进行资源费访问,将各自下载的资源进行整合后,可以使LORA设备A和LORA设备B都可以广播第三信息,电子设备可以通过LORA设备A或者LORA设备B来获取该电影资源。此时,电子设备可以先确定LORA设备A的访问负载量和LORA设备B的访问负载量,因为可能MESH组网有已经有LORA设备优先向LORA设备A和LORA设备B发起了访问请求,为了提高访问效率,电子设备可以通过LORA设备A和LORA设备B中访问负载量更小的LORA设备来实现访问第一网络资源。
可见,本示例中,在检测到电子设备可以通过MESH组网中的不止一个 LORA设备来访问第一网络资源时,可先确定第一目标LORA设备中访问负载量最小的LORA设备,从而通过该LORA设备实现访问第一网络资源,从而实现资源的均匀分配。
在一个可能的示例中,所述与所述MESH组网中的LORA设备共享所述第一网络资源,包括:在检测到所述电子设备通过移动网络成功访问所述第一网络资源后,向所述MESH组网中的LORA设备组播第四信息,所述第四信息用于通知MESH组网中的LORA设备所述电子设备已成功访问所述第一网络资源。
其中,电子设备在与至少一个LORA设备建议MESH组网后,组网内的成员之间可以实现资源共享。由于电子设备和至少一个LORA设备都想要访问第一网络资源,因此,在电子设备自己通过移动网络成功访问第一网络资源后,可以像MESH组网中的LORA设备发送第四信息,从而MESH组网中的LORA设备可以通过电子设备来访问第一网路资源。
可见,本示例中,电子设备和至少一个LORA设备建立MESH组网后,设备之间可以进行资源共享,因此,在电子设备获取到第一网路资源后可以组播第四信息,进而可以将第一网络资源分享给MESH组网中还未获取到第一网络资源的LORA设备。
在一个可能的示例中,所述方法还包括:接收来自所述MESH组网中的第二目标LORA设备单播的第五信息,其中,所述第五信息包括所述第二目标LORA设备待访问的第二网络资源的相关信息;在检测到所述电子设备下载有所述第二网络资源时,响应所述第二目标LORA设备并向所述第二目标述LORA设备发送所述第二网络资源。
其中,电子设备发送信息的方式包括广播、组播和单播,可以广播信息,即向任意多个LORA设备发送信息,也可以组播信息,即向MESH组网中的每个LORA设备发送信息,还可以单播信息,即向一个LORA设备发送信息。
其中,电子设备在接收到MESH组网中的第二目标LORA设备发送的第五信息时,确定第二目标LORA设备想要访问第二网络资源,若电子设备下载有第二网络资源,则可以将第二网络资源直接分享给第二目标LORA设备。
可见,本示例中,电子设备不仅可以通过MESH组网共享第一网络资源,还可以在接收到MESH组网中的LORA设备的用于获取第二网络资源的第五信息时,将已下载的第二网络资源分享给第二目标LORA设备,从而帮助第二目标LORA设备快速获取到第二网络资源。
与所述图1B所示的实施例一致的,请参阅图2,图2是本申请实施例提供的一种网络资源共享方法的流程示意图,应用于电子设备,所述电子设备设置有远距离无线LORA通信模块。如图所示,本网络资源共享方法包括:
S201,所述电子设备在检测到针对第一网络资源的访问请求时,记录访问等待时长。
S202,所述电子设备在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息。
S203,所述电子设备接收来自至少一个LORA设备的第二信息,所述第 二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求。
S204,所述电子设备根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网。
S205,所述电子设备接收由所述MESH组网中的第一目标LORA设备组播的第三信息,所述第三信息用于表示所述第一目标LORA设备成功访问所述第一网络资源。
S206,所述电子设备通过所述第一目标LORA设备访问所述第一网络资源。
可以看出,在本申请实施例中,电子设备首先在检测到针对第一网络资源的访问请求时,记录访问等待时长,其次,在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息,然后,接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求,接着,根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网,最后,与所述MESH组网中的LORA设备共享所述第一网络资源。由于电子设备可以通过LORA通信模块与处于同一LORA共享场景,且具有相同的网络资源访问需求的至少一个LORA设备建立MESH组网,进而可以通过MESH组网中的一个LORA设备使用移动网络获取网络资源,实现不同LORA设备之间的资源共享,满足MESH组网成员对网络资源的访问需求。
此外,当MESH组网中的第一目标LORA设备成功过访问第一网络资源后,会向MESH组网中的其它设备组播第三信息,从而,电子设备在接收到第三信息后可以通过第一目标设备来访问第一网络资源。
与所述图1B、图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种网络资源共享方法的流程示意图,应用于电子设备,所述电子设备设置有远距离无线LORA通信模块。如图所示,本网络资源共享方法包括:
S301,所述电子设备在检测到针对第一网络资源的访问请求时,记录访问等待时长。
S302,所述电子设备在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息。
S303,所述电子设备接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求。
S304,所述电子设备根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网。
S305,所述电子设备接收由所述MESH组网中的第一目标LORA设备组播的第三信息,所述第三信息用于表示所述第一目标LORA设备成功访问所 述第一网络资源。
S306,所述电子设备通过所述第一目标LORA设备访问所述第一网络资源。
S307,所述电子设备接收来自所述MESH组网中的第二目标LORA设备单播的第五信息,其中,所述第五信息包括所述第二目标LORA设备待访问的第二网络资源的相关信息。
S308,所述电子设备在检测到所述电子设备下载有所述第二网络资源时,响应所述第二目标LORA设备并向所述第二目标LORA设备发送所述第二网络资源。
可以看出,在本申请实施例中,电子设备首先在检测到针对第一网络资源的访问请求时,记录访问等待时长,其次,在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息,然后,接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求,接着,根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网,最后,与所述MESH组网中的LORA设备共享所述第一网络资源。由于电子设备可以通过LORA通信模块与处于同一LORA共享场景,且具有相同的网络资源访问需求的至少一个LORA设备建立MESH组网,进而可以通过MESH组网中的一个LORA设备使用移动网络获取网络资源,实现不同LORA设备之间的资源共享,满足MESH组网成员对网络资源的访问需求。
此外,当MESH组网中的第一目标LORA设备成功过访问第一网络资源后,会向MESH组网中的其它设备组播第三信息,从而,电子设备在接收到第三信息后可以通过第一目标设备来访问第一网络资源。
此外,电子设备不仅可以通过MESH组网共享第一网络资源,还可以在接收到MESH组网中的LORA设备的用于获取第二网络资源的第五信息时,将已下载的第二网络资源分享给第二目标LORA设备,从而帮助第二目标LORA设备快速获取到第二网络资源。
与所述图1B、图2、图3所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种电子设备400的结构示意图,该电子设备400运行有一个或多个应用程序和操作系统,如图所示,该电子设备400包括处理器410、存储器420、通信接口430以及一个或多个程序421,其中,所述一个或多个程序421被存储在所述存储器420中,并且被配置由所述处理器410执行,所述一个或多个程序421包括用于执行以下步骤的指令;
在检测到针对第一网络资源的访问请求时,记录访问等待时长;
在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息;
接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求;
根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网;
与所述MESH组网中的LORA设备共享所述第一网络资源。
可以看出,在本申请实施例中,电子设备首先在检测到针对第一网络资源的访问请求时,记录访问等待时长,其次,在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息,然后,接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求,接着,根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网,最后,与所述MESH组网中的LORA设备共享所述第一网络资源。由于电子设备可以通过LORA通信模块与处于同一LORA共享场景,且具有相同的网络资源访问需求的至少一个LORA设备建立MESH组网,进而可以通过MESH组网中的一个LORA设备使用移动网络获取网络资源,实现不同LORA设备之间的资源共享,满足MESH组网成员对网络资源的访问需求。
在一个可能的示例中,所述LORA共享场景为演唱会场景;在所述向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息方面,,所述程序中的指令具体用于执行以下操作:确定所述演唱会场景关联的预设区域范围;搜索所述预设区域范围内的多个LORA设备,并与所述多个LORA设备建立至少一条中继链路;通过所述至少一条中继链路向所述说个LORA设备广播所述第一信息。
在一个可能的示例中,所述第二信息还包括所述至少一个LORA设备的网络状态信息;所述程序中的指令具体用于执行以下操作:根据所述至少一个LORA设备的网络状态信息以及所述电子设备的网络状态信息,形成网络状态列表,所述网络状态列表用于表示所述电子设备和所述至少一个LORA设备的网络质量排名;在检测到所述电子设备的网络质量排名低于预设阈值时,停止通过移动网络访问所述第一网络资源。
在一个可能的示例中,在所述与所述MESH组网中的LORA设备共享所述第一网络资源方面,所述程序中的指令具体用于执行以下操作:接收由所述MESH组网中的第一目标LORA设备组播的第三信息,所述第三信息用于表示所述第一目标LORA设备成功访问所述第一网络资源;通过所述第一目标LORA设备访问所述第一网络资源。
在一个可能的示例中,在所述通过所述第一目标LORA设备访问所述第一网络资源方面,所述程序中的指令具体用于执行以下操作:在检测到所述第一目标LORA设备包括多个LORA设备时,确定所述第一目标LORA设备中的每个LORA设备当前的访问负载量;通过所述访问负载量最小的目标LORA设备访问所述第一网络资源。
在一个可能的示例中,在所述通过所述第一目标LORA设备访问所述第一网络资源方面,所述程序中的指令具体用于执行以下操作:在检测到所述第一目标LORA设备包括多个LORA设备时,确定所述第一目标LORA设备中的每个LORA设备当前的访问负载量;根据所述每个LORA设备当前的访问 负载量,分别通过所述多个LORA设备访问所述第一网络资源。
在一个可能的示例中,在所述与所述MESH组网中的LORA设备共享所述第一网络资源方面,所述程序中的指令具体用于执行以下操作:在检测到所述电子设备通过移动网络成功访问所述第一网络资源后,向所述MESH组网中的LORA设备组播第四信息,所述第四信息用于通知MESH组网中的LORA设备所述电子设备已成功访问所述第一网络资源。
在一个可能的示例中,所述程序中的指令具体用于执行以下操作:接收来自所述MESH组网中的第二目标LORA设备单播的第五信息,其中,所述第五信息包括所述第二目标LORA设备待访问的第二网络资源的相关信息;在检测到所述电子设备下载有所述第二网络资源时,响应所述第二目标LORA设备并向所述第二目标LORA设备发送所述第二网络资源。
在一个可能的示例中,所述LORA共享场景包括以下至少一种:演唱会场景、比赛赛事场景、车站场景、电影院场景。
上述实施例主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据所述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。所述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
图5是本申请实施例中所涉及的网络资源共享装置500的功能单元组成框图。该网络资源共享装置500应用于电子设备,包括处理单元501和通信单元502,其中,
所述处理单元501,用于在检测到针对第一网络资源的访问请求时,记录访问等待时长;以及用于在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息;以及用于接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求;以及用于根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网;以及用于与所述MESH组网中的LORA设备共享所述第一网络资源。
其中,所述网络资源共享装置500还可以包括存储单元503,用于存储电子设备的程序代码和数据。所述处理单元501可以是处理器,所述通信单元502可以是触控显示屏或者收发器,存储单元503可以是存储器。
可以看出,在本申请实施例中,电子设备首先在检测到针对第一网络资源 的访问请求时,记录访问等待时长,其次,在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息,然后,接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求,接着,根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网,最后,与所述MESH组网中的LORA设备共享所述第一网络资源。由于电子设备可以通过LORA通信模块与处于同一LORA共享场景,且具有相同的网络资源访问需求的至少一个LORA设备建立MESH组网,进而可以通过MESH组网中的一个LORA设备使用移动网络获取网络资源,实现不同LORA设备之间的资源共享,满足MESH组网成员对网络资源的访问需求。
在一个可能的示例中,所述LORA共享场景为演唱会场景;在所述向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息方面,所述处理单元501具体用于:确定所述演唱会场景关联的预设区域范围;以及用于搜索所述预设区域范围内的多个LORA设备,并与所述多个LORA设备建立至少一条中继链路;以及用于通过所述至少一条中继链路向所述说个LORA设备广播所述第一信息。
在一个可能的示例中,所述第二信息还包括所述至少一个LORA设备的网络状态信息;所述处理单元501具体用于:根据所述至少一个LORA设备的网络状态信息以及所述电子设备的网络状态信息,形成网络状态列表,所述网络状态列表用于表示所述电子设备和所述至少一个LORA设备的网络质量排名;以及用于在检测到所述电子设备的网络质量排名低于预设阈值时,停止通过移动网络访问所述第一网络资源。
在一个可能的示例中,在所述与所述MESH组网中的LORA设备共享所述第一网络资源方面,所述处理单元501具体用于:接收由所述MESH组网中的第一目标LORA设备组播的第三信息,所述第三信息用于表示所述第一目标LORA设备成功访问所述第一网络资源;以及用于通过所述第一目标LORA设备访问所述第一网络资源。
在一个可能的示例中,在所述通过所述第一目标LORA设备访问所述第一网络资源方面,所述处理单元501具体用于:在检测到所述第一目标LORA设备包括多个LORA设备时,确定所述第一目标LORA设备中的每个LORA设备当前的访问负载量;以及用于通过所述访问负载量最小的目标LORA设备访问所述第一网络资源。
在一个可能的示例中,在所述通过所述第一目标LORA设备访问所述第一网络资源方面,所述处理单元501具体用于:在检测到所述第一目标LORA设备包括多个LORA设备时,确定所述第一目标LORA设备中的每个LORA设备当前的访问负载量;以及用于根据所述每个LORA设备当前的访问负载量,分别通过所述多个LORA设备访问所述第一网络资源。
在一个可能的示例中,在所述与所述MESH组网中的LORA设备共享所述第一网络资源方面,所述处理单元501具体用于:在检测到所述电子设备通过移动网络成功访问所述第一网络资源后,向所述MESH组网中的LORA设 备组播第四信息,所述第四信息用于通知MESH组网中的LORA设备所述电子设备已成功访问所述第一网络资源。
在一个可能的示例中,所述处理单元501具体用于:接收来自所述MESH组网中的第二目标LORA设备单播的第五信息,其中,所述第五信息包括所述第二目标LORA设备待访问的第二网络资源的相关信息;以及用于在检测到所述电子设备下载有所述第二网络资源时,响应所述第二目标LORA设备并向所述第二目标LORA设备发送所述第二网络资源。
在一个可能的示例中,所述LORA共享场景包括以下至少一种:演唱会场景、比赛赛事场景、车站场景、电影院场景。
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器 中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种网络资源共享方法,其特征在于,应用于电子设备,所述电子设备设置有远距离无线LORA通信模块;所述方法包括:
    在检测到针对第一网络资源的访问请求时,记录访问等待时长;
    在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息;
    接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求;
    根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网;
    与所述MESH组网中的LORA设备共享所述第一网络资源。
  2. 根据权利要求1所述的方法,其特征在于,所述LORA共享场景为演唱会场景;所述向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,包括:
    确定所述演唱会场景关联的预设区域范围;
    搜索所述预设区域范围内的多个LORA设备,并与所述多个LORA设备建立至少一条中继链路;
    通过所述至少一条中继链路向所述说个LORA设备广播所述第一信息。
  3. 根据权利要求1所述的方法,其特征在于,所述第二信息还包括所述至少一个LORA设备的网络状态信息;所述方法还包括:
    根据所述至少一个LORA设备的网络状态信息以及所述电子设备的网络状态信息,形成网络状态列表,所述网络状态列表用于表示所述电子设备和所述至少一个LORA设备的网络质量排名;
    在检测到所述电子设备的网络质量排名低于预设阈值时,停止通过移动网络访问所述第一网络资源。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述与所述MESH组网中的LORA设备共享所述第一网络资源,包括:
    接收由所述MESH组网中的第一目标LORA设备组播的第三信息,所述第三信息用于表示所述第一目标LORA设备成功访问所述第一网络资源;
    通过所述第一目标LORA设备访问所述第一网络资源。
  5. 根据权利要求4所述的方法,其特征在于,所述通过所述第一目标LORA设备访问所述第一网络资源,包括:
    在检测到所述第一目标LORA设备包括多个LORA设备时,确定所述第一目标LORA设备中的每个LORA设备当前的访问负载量;
    通过所述访问负载量最小的目标LORA设备访问所述第一网络资源。
  6. 根据权利要求4所述的方法,其特征在于,所述通过所述第一目标LORA设备访问所述第一网络资源,包括:
    在检测到所述第一目标LORA设备包括多个LORA设备时,确定所述第一目标LORA设备中的每个LORA设备当前的访问负载量;
    根据所述每个LORA设备当前的访问负载量,分别通过所述多个LORA设备访问所述第一网络资源。
  7. 根据权利要求1所述的方法,其特征在于,所述与所述MESH组网中的LORA设备共享所述第一网络资源,包括:
    在检测到所述电子设备通过移动网络成功访问所述第一网络资源后,向所述MESH组网中的LORA设备组播第四信息,所述第四信息用于通知MESH组网中的LORA设备所述电子设备已成功访问所述第一网络资源。
  8. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    接收来自所述MESH组网中的第二目标LORA设备单播的第五信息,其中,所述第五信息包括所述第二目标LORA设备待访问的第二网络资源的相关信息;
    在检测到所述电子设备下载有所述第二网络资源时,响应所述第二目标LORA设备并向所述第二目标LORA设备发送所述第二网络资源。
  9. 根据权利要求1所述的方法,其特征在于,所述LORA共享场景包括以下至少一种:演唱会场景、比赛赛事场景、车站场景、电影院场景。
  10. 一种网络资源共享装置,其特征在于,应用于电子设备,所述电子设备设置有远距离无线LORA通信模块;所述网络资源共享装置包括处理单元和通信单元,其中,
    所述处理单元,用于在检测到针对第一网络资源的访问请求时,记录访问等待时长;以及用于在检测到所述访问等待时长大于预设时长时,向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息,所述第一信息包括所述第一网络资源的相关信息;以及用于接收来自至少一个LORA设备的第二信息,所述第二信息用于表示所述至少一个LORA设备与所述电子设备有相同的网络资源访问需求;以及用于根据所述第二信息,通过所述LORA通信模块与所述多个LORA设备中的至少一个LORA设备建立网状MESH组网;以及用于与所述MESH组网中的LORA设备共享所述第一网络资源。
  11. 根据权利要求10所述的网络资源共享装置,其特征在于,所述LORA共享场景为演唱会场景;在所述向和所述电子设备处于同一LORA共享场景内的多个LORA设备广播第一信息方面,所述处理单元还用于:确定所述演唱会场景关联的预设区域范围;以及用于搜索所述预设区域范围内的多个LORA设备,并与所述多个LORA设备建立至少一条中继链路;以及用于通过所述至少一条中继链路向所述说个LORA设备广播所述第一信息。
  12. 根据权利要求10所述的网络资源共享装置,其特征在于,所述第二信息还包括所述至少一个LORA设备的网络状态信息;所述处理单元具体用于:根据所述至少一个LORA设备的网络状态信息以及所述电子设备的网络状态信息,形成网络状态列表,所述网络状态列表用于表示所述电子设备和所述至少一个LORA设备的网络质量排名;以及用于在检测到所述电子设备的网络质量排名低于预设阈值时,停止通过移动网络访问所述第一网络资源。
  13. 根据权利要求10-12任一项所述的网络资源共享装置,其特征在于,在所述与所述MESH组网中的LORA设备共享所述第一网络资源方面,所述处理单元具体用于:接收由所述MESH组网中的第一目标LORA设备组播的第三信息,所述第三信息用于表示所述第一目标LORA设备成功访问所述第 一网络资源;以及用于通过所述第一目标LORA设备访问所述第一网络资源。
  14. 根据权利要求13所述的网络资源共享装置,其特征在于,在所述通过所述第一目标LORA设备访问所述第一网络资源方面,所述处理单元还用于:在检测到所述第一目标LORA设备包括多个LORA设备时,确定所述第一目标LORA设备中的每个LORA设备当前的访问负载量;以及用于通过所述访问负载量最小的目标LORA设备访问所述第一网络资源。
  15. 根据权利要求13所述的网络资源共享装置,其特征在于,在所述通过所述第一目标LORA设备访问所述第一网络资源方面,所述处理单元还用于:在检测到所述第一目标LORA设备包括多个LORA设备时,确定所述第一目标LORA设备中的每个LORA设备当前的访问负载量;以及用于根据所述每个LORA设备当前的访问负载量,分别通过所述多个LORA设备访问所述第一网络资源。
  16. 根据权利要求10所述的网络资源共享装置,其特征在于,在所述与所述MESH组网中的LORA设备共享所述第一网络资源方面,所述处理单元还用于:在检测到所述电子设备通过移动网络成功访问所述第一网络资源后,向所述MESH组网中的LORA设备组播第四信息,所述第四信息用于通知MESH组网中的LORA设备所述电子设备已成功访问所述第一网络资源。
  17. 根据权利要求10所述的网络资源共享装置,其特征在于,所述处理单元具体用于:接收来自所述MESH组网中的第二目标LORA设备单播的第五信息,其中,所述第五信息包括所述第二目标LORA设备待访问的第二网络资源的相关信息;以及用于在检测到所述电子设备下载有所述第二网络资源时,响应所述第二目标LORA设备并向所述第二目标LORA设备发送所述第二网络资源。
  18. 根据权利要求10所述的网络资源共享装置,其特征在于,所述LORA共享场景包括以下至少一种:演唱会场景、比赛赛事场景、车站场景、电影院场景。
  19. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所述的方法中的步骤的指令。
  20. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。
PCT/CN2020/083576 2019-04-22 2020-04-07 网络资源共享方法及相关装置 WO2020216059A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20794053.7A EP3934328A4 (en) 2019-04-22 2020-04-07 METHOD AND DEVICE FOR SHARING NETWORK RESOURCES
US17/484,832 US20220015026A1 (en) 2019-04-22 2021-09-24 Method for network resource sharing, electronic device, and non-transitory computer-readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910324432.0A CN110049531B (zh) 2019-04-22 2019-04-22 网络资源共享方法及相关装置
CN201910324432.0 2019-04-22

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/484,832 Continuation US20220015026A1 (en) 2019-04-22 2021-09-24 Method for network resource sharing, electronic device, and non-transitory computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2020216059A1 true WO2020216059A1 (zh) 2020-10-29

Family

ID=67278352

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/083576 WO2020216059A1 (zh) 2019-04-22 2020-04-07 网络资源共享方法及相关装置

Country Status (4)

Country Link
US (1) US20220015026A1 (zh)
EP (1) EP3934328A4 (zh)
CN (2) CN110049531B (zh)
WO (1) WO2020216059A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110049531B (zh) * 2019-04-22 2021-05-04 Oppo广东移动通信有限公司 网络资源共享方法及相关装置
CN112422597B (zh) * 2019-08-21 2023-12-12 北京小米移动软件有限公司 网络内容访问方法、装置及存储介质
CN111083763B (zh) * 2019-12-17 2021-05-25 Oppo广东移动通信有限公司 网络控制方法、装置、存储介质及电子设备
CN112911684B (zh) * 2021-01-20 2023-05-23 维沃移动通信有限公司 组网方法、装置、服务器、电子设备及介质
US20220278892A1 (en) * 2021-03-01 2022-09-01 Lenovo (Singapore) Pte. Ltd. Device and method for controlling communication of information
CN113079545B (zh) * 2021-03-29 2023-08-25 维沃移动通信有限公司 网络共享方法、装置及电子设备
CN114501345A (zh) * 2022-04-15 2022-05-13 希诺麦田技术(深圳)有限公司 组呼全双工实现方法、装置及系统

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624893A (zh) * 2012-03-08 2012-08-01 武汉理工大学 基于spiral曲线的无线Mesh网络P2P资源共享方法
US20160014830A1 (en) * 2014-07-10 2016-01-14 International Business Machines Corporation Peer-to-peer sharing of network resources
CN106664522A (zh) * 2014-09-26 2017-05-10 苹果公司 用于移动设备的网络带宽共享
CN107148071A (zh) * 2017-04-19 2017-09-08 南京邮电大学 基于低功耗广域网技术和Mesh融合的泛在接入方法及应用系统
WO2018118182A1 (en) * 2016-12-23 2018-06-28 Intel Corporation Adaptive network topology
CN207560033U (zh) * 2017-11-10 2018-06-29 国网河南省电力公司鹤壁供电公司 一种基于Mesh型网络和星型网络相结合的LoRa通信终端
CN109150568A (zh) * 2017-06-27 2019-01-04 阿里巴巴集团控股有限公司 一种网络管理方法、装置、系统、设备和存储介质
CN110049531A (zh) * 2019-04-22 2019-07-23 Oppo广东移动通信有限公司 网络资源共享方法及相关装置

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130227647A1 (en) * 2012-02-28 2013-08-29 Apple Inc. Shared network access via a peer-to-peer link
US10187474B2 (en) * 2012-08-08 2019-01-22 Samsung Electronics Co., Ltd. Method and device for resource sharing between devices
CN103248407B (zh) * 2013-04-27 2016-08-10 东莞宇龙通信科技有限公司 一种移动终端及其访问、共享网络资源的方法和系统
CN103458057B (zh) * 2013-09-30 2017-02-22 小米科技有限责任公司 一种获取资源的方法、装置和服务器
CN103685468B (zh) * 2013-11-18 2016-10-12 上海交通大学 基于自组织网络的移动终端协作下载方法
KR101533738B1 (ko) * 2013-11-26 2015-07-03 주식회사 엠투브 네트워크 멀티미디어 공유 시스템
US9585177B2 (en) * 2013-12-11 2017-02-28 At&T Intellectual Property I, L.P. Cellular connection sharing
CN105357590A (zh) * 2014-08-22 2016-02-24 中兴通讯股份有限公司 一种实现终端多媒体广播的方法及装置
CN105471944B (zh) * 2014-09-03 2019-05-28 优视科技有限公司 一种网络数据共享系统、方法及装置
CN105516324B (zh) * 2015-12-16 2019-12-03 Oppo广东移动通信有限公司 一种资源共享方法、系统及终端设备
CN105813099B (zh) * 2016-04-20 2020-07-14 西安电子科技大学 基于LoRa自组网的户外无线通信系统
US10159101B2 (en) * 2016-05-20 2018-12-18 Blackberry Limited Using WLAN connectivity of a wireless device
CN106998367A (zh) * 2017-05-24 2017-08-01 维沃移动通信有限公司 一种文件下载方法及移动终端
CN108135035B (zh) * 2018-01-29 2020-09-01 清华大学合肥公共安全研究院 一种基于自主学习的ZigBee设备自组网方法
CN109246080B (zh) * 2018-08-03 2021-08-27 广东工业大学 一种资源共享方法、装置、设备及计算机可读存储介质
CN109275125B (zh) * 2018-08-08 2021-04-09 Oppo广东移动通信有限公司 资源共享方法、装置、设备和存储介质

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624893A (zh) * 2012-03-08 2012-08-01 武汉理工大学 基于spiral曲线的无线Mesh网络P2P资源共享方法
US20160014830A1 (en) * 2014-07-10 2016-01-14 International Business Machines Corporation Peer-to-peer sharing of network resources
CN106664522A (zh) * 2014-09-26 2017-05-10 苹果公司 用于移动设备的网络带宽共享
WO2018118182A1 (en) * 2016-12-23 2018-06-28 Intel Corporation Adaptive network topology
CN107148071A (zh) * 2017-04-19 2017-09-08 南京邮电大学 基于低功耗广域网技术和Mesh融合的泛在接入方法及应用系统
CN109150568A (zh) * 2017-06-27 2019-01-04 阿里巴巴集团控股有限公司 一种网络管理方法、装置、系统、设备和存储介质
CN207560033U (zh) * 2017-11-10 2018-06-29 国网河南省电力公司鹤壁供电公司 一种基于Mesh型网络和星型网络相结合的LoRa通信终端
CN110049531A (zh) * 2019-04-22 2019-07-23 Oppo广东移动通信有限公司 网络资源共享方法及相关装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ETSI: "System Reference document (SRdoc); Technical characteristics for Low Power Wide Area Networks Chirp Spread Spectrum (LPWAN-CSS) operating in the UHF spectrum below 1 GHz", ETSI TR 103 526, 30 April 2018 (2018-04-30), pages 1 - 54, XP014319187 *
See also references of EP3934328A4 *

Also Published As

Publication number Publication date
EP3934328A1 (en) 2022-01-05
CN113079555A (zh) 2021-07-06
EP3934328A4 (en) 2022-04-27
CN110049531B (zh) 2021-05-04
US20220015026A1 (en) 2022-01-13
CN110049531A (zh) 2019-07-23
CN113079555B (zh) 2022-11-15

Similar Documents

Publication Publication Date Title
WO2020216059A1 (zh) 网络资源共享方法及相关装置
CN109640310B (zh) 数据传输控制方法及相关产品
WO2020164349A1 (zh) 数据传输控制方法及相关产品
US9544840B2 (en) Distributed method for client optimization
CN104469694B (zh) 一种基于集群系统的通信方法及装置
JP6093037B2 (ja) グループコールコンテキストを確立する方法、システム、基地局、及びクラスタepc
WO2020134720A1 (zh) 数据传输控制方法及相关产品
EP2803244A2 (en) Methods and apparatus for establishing a tunneled direct link setup (tdls) session between devices in a wireless network
WO2020011152A1 (zh) Pfcp连接处理方法、装置、网元、系统及存储介质
CN102932745A (zh) 一种基于移动wifi热点的个人多媒体广播系统
US20130156175A1 (en) Method and apparatus for enabling voice discussions among independent and simultaneous users of data content
WO2020024775A1 (zh) 数据传输控制方法及相关装置
WO2023272981A1 (zh) 窄带通信方法、对讲机、设备、存储介质及自组网系统
US20150080010A1 (en) Method, device, and system for applying for frequency spectrum
WO2020164522A1 (zh) 数据传输控制方法及相关产品
CN108024306B (zh) 一种tcp连接管理方法及网关设备
CN103648056A (zh) 一种智能电视的点对点传输方法和装置
CN105828253A (zh) 音频播放系统中的无线连接控制方法及装置
EP3691302B1 (en) Data flow transmission method, device, and system
CN111050368A (zh) 网络传输控制方法、装置、终端设备以及存储介质
CN115379279A (zh) 多屏联动的交互方法及装置、系统、存储介质、电子设备
EP3817330A1 (en) Media interaction method in dect network cluster
US9635586B2 (en) Method and apparatus for using call admission control for client balancing
CN110958068B (zh) 一种视频传输的方法和设备
CN105722037A (zh) 一种wlan设备与wfd设备交互的方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20794053

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020794053

Country of ref document: EP

Effective date: 20210928

NENP Non-entry into the national phase

Ref country code: DE