CN112422597A - Network content access method, device and storage medium - Google Patents

Network content access method, device and storage medium Download PDF

Info

Publication number
CN112422597A
CN112422597A CN201910775306.7A CN201910775306A CN112422597A CN 112422597 A CN112422597 A CN 112422597A CN 201910775306 A CN201910775306 A CN 201910775306A CN 112422597 A CN112422597 A CN 112422597A
Authority
CN
China
Prior art keywords
network content
accessed
electronic device
network
electronic equipment
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.)
Granted
Application number
CN201910775306.7A
Other languages
Chinese (zh)
Other versions
CN112422597B (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.)
Miaomiaoce Technology Beijing Co ltd
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Miaomiaoce Technology Beijing Co ltd
Beijing Xiaomi Mobile Software Co 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 Miaomiaoce Technology Beijing Co ltd, Beijing Xiaomi Mobile Software Co Ltd filed Critical Miaomiaoce Technology Beijing Co ltd
Priority to CN201910775306.7A priority Critical patent/CN112422597B/en
Publication of CN112422597A publication Critical patent/CN112422597A/en
Application granted granted Critical
Publication of CN112422597B publication Critical patent/CN112422597B/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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

The disclosure relates to a network content access method, a network content access device and a storage medium. In the network content access method, network content to be accessed is determined, wherein the network content to be accessed is content to be acquired through an access network; sending a network content acquisition request to second electronic equipment, wherein the network content acquisition request comprises attribute information of network content to be accessed, and the second electronic equipment and the first electronic equipment establish a relationship in advance; receiving response information sent by the second electronic device based on the network content acquisition request, wherein the response information represents whether the network content to be accessed is stored locally in the second electronic device; and when the response information indicates that the second electronic device locally stores the network content to be accessed, receiving the network content to be accessed pushed by the second electronic device based on near field communication. By the method and the device, the network content to be accessed can be quickly acquired.

Description

Network content access method, device and storage medium
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to a method and an apparatus for accessing network content, and a storage medium.
Background
In synchronization with the development of network technologies, more and more electronic devices such as mobile phones and tablet computers, and even wearable devices such as smartwatches have the function of accessing the internet.
In the related art, when the electronic device accesses the internet, the electronic device needs to connect to the network through a broadband internet or a mobile internet to access the network content, such as accessing a website, downloading a file, and the like. When the electronic device accesses the internet to obtain the network content to be accessed, the downloading speed is too slow and the consumed time is long due to the influence of the size of the network content to be accessed and the network condition.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a network content access method, apparatus, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a network content access method, applied to a first electronic device, including: determining network content to be accessed, wherein the network content to be accessed is content to be acquired by accessing a mobile network; sending a network content acquisition request to second electronic equipment, wherein the network content acquisition request comprises attribute information of network content to be accessed, and the second electronic equipment and the first electronic equipment establish a relationship in advance; receiving response information sent by the second electronic device based on the network content acquisition request, wherein the response information represents whether the network content to be accessed is stored locally in the second electronic device; and when the response information indicates that the second electronic device locally stores the network content to be accessed, receiving the network content to be accessed pushed by the second electronic device based on near field communication.
In one example, the method further comprises: and when the response information indicates that the second electronic equipment locally stores the network content to be accessed, stopping sending a network content acquisition request to the mobile network.
In another example, the method further comprises: and when the response information indicates that the second electronic equipment does not locally store the network content to be accessed, sending a network content acquisition request to a mobile network, and acquiring the network content to be accessed by accessing the mobile network.
In another example, the pre-established association relationship between the second electronic device and the first electronic device includes any one or more of the following:
the second electronic equipment is matched in advance and is in a close-range communication connection state with the first electronic equipment; the second electronic device and the first electronic device are in close range communication at historical time; the second electronic equipment is matched with the user input equipment identification acquired by the first electronic equipment; the second electronic equipment and the first electronic equipment are in the same local area network; the second electronic device and the first electronic device have the same user account.
In one example, before receiving the to-be-accessed network content pushed by the second electronic device based on near field communication, the method further includes: if response information of the network content to be accessed is locally stored and sent by at least two pieces of second electronic equipment is received, determining the second electronic equipment for pushing the network content to be accessed according to the time sequence of receiving the response information; sending a notification message to a second electronic device pushing the network content to be accessed, wherein the notification message is configured to notify the second electronic device to push the network content to be accessed.
In another example, the method further comprises: if the network content to be accessed comprises at least two batches, determining that the number of second electronic equipment pushing the network content to be accessed is at least two, wherein the batches are divided according to the number or the size of the network content to be accessed; the notification message further includes a batch identifier of the network content, and the batch identifier is configured to instruct the second electronic device to push the network content to be accessed corresponding to the batch.
In yet another example, the attribute information of the network content to be accessed includes one or more of a uniform resource locator, a content name, a content size, and a timestamp.
In one example, before sending the network content acquisition request to the second electronic device, the method further includes: determining that the first electronic device does not locally store the network content to be accessed.
According to a second aspect of the embodiments of the present disclosure, there is provided a network content access device, applied to a first electronic device, including: a determining unit configured to determine a network content to be accessed, the network content to be accessed being a content to be acquired by accessing a mobile network; a sending unit, configured to send a network content obtaining request to a second electronic device, where the network content obtaining request includes attribute information of network content to be accessed, and a relationship is pre-established between the second electronic device and the first electronic device; an obtaining unit, configured to receive response information sent by the second electronic device based on the network content obtaining request, where the response information indicates whether the network content to be accessed is locally stored in the second electronic device, and when the response information indicates that the network content to be accessed is locally stored in the second electronic device, receive the network content to be accessed pushed by the second electronic device based on near field communication.
In one example, the transmitting unit is further configured to: and when the response information indicates that the second electronic equipment locally stores the network content to be accessed, stopping sending a network content acquisition request to the mobile network.
In another example, the transmitting unit is further configured to: when the response information indicates that the second electronic device does not locally store the network content to be accessed, sending a network content acquisition request to a mobile network; the acquisition unit is further configured to acquire the network content to be accessed through accessing a mobile network.
In another example, the pre-established association relationship between the second electronic device and the first electronic device includes any one or more of the following:
the second electronic equipment is matched in advance and is in a close-range communication connection state with the first electronic equipment; the second electronic device and the first electronic device are in close range communication at historical time; the second electronic equipment is matched with the user input equipment identification acquired by the first electronic equipment; the second electronic equipment and the first electronic equipment are in the same local area network; the second electronic device and the first electronic device have the same user account.
In one example, the obtaining unit is further configured to: before receiving the to-be-accessed network content pushed by the second electronic equipment based on near field communication, if response information sent by at least two pieces of second electronic equipment and locally stored with the to-be-accessed network content is received, determining the second electronic equipment pushing the to-be-accessed network content according to the time sequence of receiving the response information; the transmitting unit is further configured to: sending a notification message to a second electronic device pushing the network content to be accessed, wherein the notification message is configured to notify the second electronic device to push the network content to be accessed.
In another example, the obtaining unit is further configured to: if the network content to be accessed comprises at least two batches, determining that the number of second electronic equipment pushing the network content to be accessed is at least two, and dividing the batches according to the number or the size of the network content to be accessed. The notification message sent by the sending unit further includes a batch identifier of network content, and the batch identifier is configured to instruct the second electronic device to push network content to be accessed corresponding to the batch.
In yet another example, the attribute information of the network content to be accessed includes one or more of a uniform resource locator, a content name, a content size, and a timestamp.
In an example, the determining unit is further configured to: before the sending unit sends a network content obtaining request to the second electronic device, it is determined that the network content to be accessed is not stored locally in the first electronic device.
According to a third aspect of the embodiments of the present disclosure, there is provided a network content access apparatus including: a processor; a memory configured to store processor-executable instructions; wherein the processor is configured to: the method for accessing network content according to the first aspect or any example of the first aspect is performed.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the network content access method according to the first aspect or any example of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: by sending a network content acquisition request to the second electronic device and receiving the locally stored to-be-accessed network content pushed by the second electronic device based on near field communication when the to-be-accessed network content is locally stored in the second electronic device, the to-be-accessed network content can be acquired more quickly compared with the network content acquired by accessing the mobile network.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, are configured to explain the principles of the invention.
Fig. 1 is a flow chart illustrating a method of network content access according to an example embodiment.
Fig. 2 is a flow chart illustrating another method of network content access according to an example embodiment.
Fig. 3 is a flow chart illustrating yet another method of network content access according to an example embodiment.
Fig. 4 is a flow chart illustrating yet another method of network content access according to an example embodiment.
Fig. 5 is a flow chart illustrating yet another method of network content access according to an example embodiment.
Fig. 6 is a block diagram illustrating a network content access device according to an example embodiment.
FIG. 7 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The network content access method provided by the disclosure can be applied to a scene of accessing a network through an electronic device. The electronic device may be a Mobile electronic device such as a smart Phone (Mobile Phone), a Pocket Computer (PPC), a palm top Computer, a Personal Digital Assistant (PDA), a notebook Computer, a tablet Computer, a wearable device, or a vehicle-mounted device. The network accessed by the electronic equipment can be a mobile network or the internet. The following description of the present disclosure takes the example of accessing a mobile network.
In an example scenario of accessing a mobile network through an electronic device, a plurality of electronic devices performing near field communication access the same network content at different times, and need to access the mobile network and acquire the same content. For example, a user carries with him a plurality of mobile electronic devices, such as a smartphone together with a laptop. The method comprises the steps that a user accesses a mobile network through a wireless network or a wired network by using a notebook computer in a first time, and downloads access contents such as websites, videos or music acquired by accessing the mobile network to the local of the notebook computer, but when the user wants to acquire the access contents again through a smart phone in a second time, the user still needs to reopen the websites, download or buffer the network contents such as the videos or the music through the mobile network, and the contents are downloaded or cached in a tablet computer carried by the user. The to-be-accessed network content is obtained from the mobile network again through the smart phone, and the phenomena of too low downloading speed and long consumed time can occur under the influence of the size of the to-be-accessed network content and the network condition, so that bad experience is brought to a user when the user accesses the mobile network by using the mobile electronic equipment.
In view of the above, the present disclosure provides a network content access method, in which, after determining network content to be accessed by a user, an electronic device sends a network content acquisition request to other electronic devices capable of performing near field communication with the electronic device, and when the network content to be accessed is locally stored in the other electronic devices, the other electronic devices push the network content to be accessed based on the near field communication. The electronic equipment receives the locally stored to-be-accessed network content pushed by other electronic equipment based on near field communication, and can acquire the to-be-accessed network content more quickly compared with the network content acquired by accessing the mobile network.
For convenience of description, an electronic device to be subjected to network access is referred to as a first electronic device, and another electronic device that performs near field communication with the first electronic device is referred to as a second electronic device in the present disclosure.
Fig. 1 is a flowchart illustrating a network content access method according to an exemplary embodiment, which is configured as a first electronic device as shown in fig. 1, and includes the following steps.
In step S11, the network content to be accessed is determined.
In the present disclosure, the content of the network to be accessed is the content to be acquired by accessing the mobile network. For example, the user may generate the network content to be accessed when clicking on a website link on the first electronic device to access the mobile network. The network content to be accessed in the present disclosure may be, for example, a website, a streaming media file such as a video, a text file, and the like.
In step S12, a network content acquisition request is transmitted to the second electronic device.
In the disclosure, when determining that a user needs to access a network to obtain network content, a first electronic device does not send a network content obtaining request to the network, but sends a network content obtaining request to a second electronic device, so that the second electronic device searches whether network content to be obtained by the first electronic device through the network is locally stored based on the network content obtaining request.
In an embodiment, in order to facilitate the second electronic device to find whether the network content to be acquired by the first electronic device through the network is locally stored, the network content acquisition request sent by the first electronic device to the second electronic device includes attribute information of the network content to be accessed. The attribute information of the network content to be accessed, which is sent by the first electronic device to the second electronic device, may include one or more of a Uniform Resource Locator (URL), a content name, a content size, and a timestamp.
In one embodiment, the second electronic device in the present disclosure may be understood as an electronic device that has a pre-established association relationship with the first electronic device. The electronic device with the pre-established association relationship may be a pre-bound electronic device, an electronic device with the same account, an electronic device with near field communication, or the like.
In step S13, response information sent by the second electronic device based on the network content acquisition request is received.
In the disclosure, after receiving a network content acquisition request sent by a first electronic device, a second electronic device searches whether to-be-accessed network content of the first electronic device is stored locally based on the network content acquisition request, and sends response information to the first electronic device. The response information sent by the second electronic device to the first electronic device represents whether the second electronic device locally stores the network content to be accessed of the first electronic device. When the network content to be accessed of the first electronic equipment is not found locally by the second electronic equipment, response information representing that the network content to be accessed is not stored locally by the second electronic equipment is sent to the first electronic equipment. When the second electronic equipment finds the network content to be accessed of the first electronic equipment locally, response information representing that the network content to be accessed is locally stored in the second electronic equipment is sent to the first electronic equipment. After receiving the response information sent by the second electronic device, the first electronic device may determine whether the second electronic device locally stores the network content to be accessed of the first electronic device.
In step S14, when the response information indicates that the network content to be accessed is stored locally on the second electronic device, the network content to be accessed pushed by the second electronic device based on the near field communication is received.
According to the method and the device, when the response information represents that the second electronic device locally stores the network content to be accessed, the first electronic device receives the network content to be accessed pushed by the second electronic device based on near field communication, and can acquire the network content to be accessed more quickly compared with the method and the device for acquiring the network content by accessing the mobile network.
In the disclosure, when the first electronic device determines that the network content to be accessed is locally stored in the second electronic device, that is, when the response information sent by the second electronic device to the first electronic device indicates that the network content to be accessed is locally stored in the second electronic device, the network content acquisition request is stopped being sent to the mobile network, and the network content to be accessed is stopped being acquired by accessing the mobile network, so as to avoid the consumption of network resources.
Fig. 2 is a flow chart illustrating a method of network content access according to an example embodiment. The network content access method shown in fig. 2 is similar to the network content access method shown in fig. 1, except that the method further comprises the following steps:
in step S15, when it is determined that the received response information indicates that the network content to be accessed is locally stored in the second electronic device, the sending of the network content acquisition request to the mobile network is stopped, and the acquisition of the network content to be accessed through the access to the mobile network is stopped.
The execution sequence of step S15 and step S14 is not limited in this disclosure, and step S15 may be executed after step S14 is executed, or step S15 and step S14 may be executed synchronously.
Furthermore, in the present disclosure, when the network content to be accessed is not locally stored in the second electronic device, that is, when the response information sent to the first electronic device by the second electronic device indicates that the network content to be accessed is not locally stored in the second electronic device, the first electronic device accesses the mobile network, sends a network content acquisition request to the mobile network, and acquires the network content to be accessed by accessing the mobile network.
Fig. 3 is a flow chart illustrating a method of network content access according to an example embodiment. Step S21, step S22, step S23 in the network content access method shown in fig. 3 are the same as step S11, step S12 and step S13 in the network content access method shown in fig. 1, and are not described again here.
In step S24, when it is determined that the received response information indicates that the network content to be accessed is not stored locally in the second electronic device, a network content obtaining request is sent to the mobile network, and the network content to be accessed is obtained by accessing the mobile network.
According to the method and the device, when the network content to be accessed of the first electronic equipment is not stored locally in the second electronic equipment, the first electronic equipment acquires the network to be accessed by adopting a traditional mobile network access mode, and the first electronic equipment can be ensured to acquire the network content to be accessed.
In an embodiment of the present disclosure, to further improve a success rate of acquiring the to-be-accessed network content by the first electronic device and reduce resource consumption of the first electronic device in searching for the second electronic device, the first electronic device may determine the second electronic device having an association relationship with the first electronic device in advance before sending a network content acquisition request to the second electronic device.
Fig. 4 is a flow chart illustrating a method of network content access according to an example embodiment. The network content method shown in fig. 4 may be implemented based on the network content method shown in fig. 1, or may be implemented based on the network content method shown in fig. 2, and the network content method shown in fig. 2 is taken as an example in fig. 4 in the present disclosure.
Step S31, step S33, step S34, step S35 and step S36 in the network content method shown in fig. 4 of the present disclosure are the same as steps S11 to step S15 in the network content method shown in fig. 2, and are not described in detail here, and reference may be made to the description of the related embodiments above.
In step S32, the second electronic device is determined.
In practical applications, a user usually accesses the same network content through a plurality of different electronic devices of the user, or accesses the same network content with other well-known users, and allows mutual transmission of the network content between the respective devices. Therefore, in order to avoid the first electronic device from blindly searching for the second electronic device and improve the acquisition of the stored network content by the first electronic device, the second electronic device which may provide the network content to be accessed for the first electronic device is determined in advance. Usually, the second electronic device, which may provide the first electronic device with the network content to be accessed, has a pre-established relationship with the first electronic device, for example, the second electronic device has been matched with the first electronic device in advance, and performs near field communication with the first electronic device by using one or more of bluetooth connection, wireless local area network connection and infrared connection. The second electronic device may be understood to be a companion device to the first electronic device.
In the present disclosure, the pre-established association relationship includes any one or more of the following: the second electronic equipment is matched in advance and is in a close-range communication connection state with the first electronic equipment; the second electronic equipment and the first electronic equipment perform near field communication at historical time; the second electronic equipment is matched with the user input equipment identification acquired by the first electronic equipment; the second electronic equipment and the first electronic equipment are in the same local area network; the second electronic device has the same user account as the first electronic device.
In the present disclosure, a second electronic device that has a pre-established relationship with a first electronic device is determined in one or a combination of the following ways:
in one mode, an electronic device that has been matched with the first electronic device in advance and is in a near field communication connection state is determined as the second electronic device. In another mode, an electronic device that has performed near field communication with the first electronic device over a past time is determined as the second electronic device. In another way, the user may generally know the device identifier for which the network content to be accessed is likely to be provided, and the electronic device matching the user input device identifier acquired by the first electronic device may be determined as the second electronic device in the present disclosure. In another mode, an electronic device in the same local area network as the first electronic device is determined as the second electronic device.
According to the method and the device, the first electronic device determines the second electronic device with the pre-established association relation with the first electronic device in advance before sending the network content acquisition request to the second electronic device, so that the success rate of acquiring the stored network content by the first electronic device can be improved, and the blind searching probability of the first electronic device can be reduced.
In another embodiment of the present disclosure, the number of the second electronic devices determined by the first electronic device may be one or more. If the first electronic device determines a plurality of second electronic devices, the first electronic device sends network content acquisition requests to the plurality of second electronic devices. And the plurality of second electronic devices which receive the network content acquisition request respectively search whether the network content to be accessed by the first electronic device is stored locally based on the network content acquisition request, and feed back response information to the first electronic device.
In this disclosure, if a plurality of (at least two) second electronic devices search for locally stored network content to be accessed, and send response information indicating that the second electronic device locally stores the network content to be accessed to the first electronic device, the number of the response information indicating that the second electronic device locally stores the network content to be accessed, which is received by the first electronic device, is also multiple. In this case, the first electronic device may determine the second electronic device that pushes the network content to be accessed according to the chronological order of receiving the response information, which is sent by the at least two second electronic devices and locally stores the network content to be accessed. For example, the second electronic device corresponding to the response information received first may be determined as the second electronic device that pushes the network content.
Fig. 5 is a flow chart illustrating a method of network content access according to an example embodiment. The web content method shown in fig. 5 may be implemented based on the web content method shown in any one of fig. 1, 2 and 4. Fig. 5 is an example of the network content method shown in fig. 4 in the present disclosure.
In the present disclosure, step S41, step S42, step S43, step S44 and step S45 in the network content method shown in fig. 5 are the same as or similar to step S31, step S32, step S33, step S34 and step S36 respectively, and thus, detailed description thereof is omitted, and reference may be made to the description of the related embodiments above.
In step S46, it is determined that response information sent by at least two second electronic devices and locally storing the network content to be accessed is received.
In step S47, the second electronic device that pushes the network content to be accessed is determined according to the chronological order of receiving the response information.
In step S48, a notification message is sent to the second electronic device that pushed the network content to be accessed. The notification message is configured to notify the second electronic device to push the network content to be accessed.
In step S49, the network content to be accessed pushed by the second electronic device based on the near field communication is received.
In the disclosure, according to the time sequence of receiving the response information, the first electronic device determines the second electronic device with the time of receiving the response information before as the second electronic device for pushing the network content to be accessed. And sending a notification message for pushing the network content to be accessed to the second electronic device which determines to push the network content to be accessed, so that the second electronic device which receives the notification message pushes the network content to be accessed, and the second electronic device which does not receive the notification message does not need to push the network content to be accessed, thereby improving the speed of the first electronic device for obtaining the network content to be accessed and avoiding the second electronic device which does not need to push the network content to be accessed from pushing the network content.
In the present disclosure, the first electronic device determines the number of the second electronic devices that push the network content to be accessed may be one or more. When the number of the network contents to be accessed by the first electronic device is multiple or the network contents to be accessed are large, the network contents to be accessed can be divided into multiple (at least two) batches, and a batch identifier is set for each batch. And when the network content to be accessed comprises at least two batches, determining that the number of the second electronic equipment pushing the network content to be accessed is at least two. And respectively sending notification messages to the determined at least two electronic devices, and carrying the batch identifier in the notification message sent by the first electronic device to the second electronic device to indicate the second electronic device to push the network content to be accessed corresponding to the batch. The network content to be accessed is pushed by the plurality of second electronic devices in parallel, and the speed of the first electronic device for obtaining the network content to be accessed is improved.
It can be understood that, if the network content to be accessed is stored locally, the first electronic device of the present disclosure may directly obtain the network content to be accessed from locally, and does not need to send a network content obtaining request to the second electronic device, and does not need to obtain the network content to be accessed through accessing the mobile network. Therefore, in the various network content acquiring methods related to the foregoing embodiments of the present disclosure, before the first electronic device sends the network content acquiring request to the second electronic device, it needs to first determine whether the first electronic device locally stores the network content to be accessed. When it is determined that the first electronic device does not locally store the network content to be accessed, a network content acquisition request can be sent to the second electronic device, and the network content access method related to the above of the disclosure can be executed.
According to the network content access method provided by the disclosure, after determining network content to be accessed by a user, a first electronic device sends a network content acquisition request to a second electronic device, and when the network content to be accessed is locally stored in the second electronic device, the second electronic device pushes the network content to be accessed based on near field communication. The first electronic device receives the locally stored to-be-accessed network content pushed by the second electronic device based on near field communication, and can acquire the to-be-accessed network content more quickly compared with the network content acquired by accessing the mobile network.
Based on the same conception, the embodiment of the disclosure also provides a network content access device.
It is understood that the network content access device provided by the embodiment of the present disclosure includes a hardware structure and/or a software module for performing the above functions. The disclosed embodiments can be implemented in hardware or a combination of hardware and computer software, in combination with the exemplary elements and algorithm steps disclosed in the disclosed embodiments. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Fig. 6 is a block diagram illustrating a network content access device, according to an example embodiment. Referring to fig. 6, the network content access apparatus 100 is applied to a first electronic device, and includes: a determination unit 101, a transmission unit 102, and an acquisition unit 103.
The determining unit 101 is configured to determine network content to be accessed, where the network content to be accessed is content to be acquired by accessing a mobile network.
The sending unit 102 is configured to send a network content obtaining request to a second electronic device, where the network content obtaining request includes attribute information of network content to be accessed, and a relationship is established between the second electronic device and the first electronic device in advance.
The obtaining unit 103 is configured to receive response information sent by the second electronic device based on the network content obtaining request, where the response information indicates whether the network content to be accessed is locally stored in the second electronic device, and when the response information indicates that the network content to be accessed is locally stored in the second electronic device, receive the network content to be accessed pushed by the second electronic device based on near field communication.
In an exemplary embodiment, the sending unit 102 is further configured to: and when the response information indicates that the second electronic equipment locally stores the network content to be accessed, stopping sending a network content acquisition request to the mobile network.
In another exemplary embodiment, the sending unit 102 is further configured to: and when the response information indicates that the second electronic equipment does not locally store the network content to be accessed, sending a network content acquisition request to a mobile network. The obtaining unit 103 is further configured to obtain the network content to be accessed through accessing a mobile network.
In another exemplary embodiment, the pre-established association relationship between the second electronic device and the first electronic device includes any one or more of the following:
the second electronic equipment is matched in advance and is in a close-range communication connection state with the first electronic equipment; the second electronic equipment and the first electronic equipment perform near field communication at historical time; the second electronic equipment is matched with the user input equipment identification acquired by the first electronic equipment; the second electronic equipment and the first electronic equipment are in the same local area network; the second electronic device has the same user account as the first electronic device.
In an exemplary embodiment, the obtaining unit 103 is further configured to: before receiving network content to be accessed pushed by second electronic equipment based on near field communication, if response information of the network content to be accessed stored locally in at least two second electronic equipment is received, determining the second electronic equipment pushing the network content to be accessed according to the time sequence of receiving the response information; the transmitting unit 102 is further configured to: sending a notification message to a second electronic device pushing the network content to be accessed, wherein the notification message is configured to notify the second electronic device to push the network content to be accessed.
In another exemplary embodiment, the obtaining unit 103 is further configured to: if the network content to be accessed comprises at least two batches, determining that the number of second electronic equipment pushing the network content to be accessed is at least two, wherein the batches are divided according to the number or the size of the network content to be accessed; the notification message sent by the sending unit 102 further includes a batch identifier of network content, where the batch identifier is configured to instruct the second electronic device to push network content to be accessed corresponding to the batch.
In yet another exemplary embodiment, the attribute information of the network content to be accessed includes one or more of a uniform resource locator, a content name, a content size, and a time stamp.
In an exemplary embodiment, the determining unit 101 is further configured to: before the sending unit 102 sends a network content obtaining request to a second electronic device, it is determined that the first electronic device does not locally store the network content to be accessed.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating an apparatus 700 for network content access, according to an example embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the device 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of apparatus 700, sensor assembly 714 may also detect a change in position of apparatus 700 or a component of apparatus 700, the presence or absence of user contact with apparatus 700, orientation or acceleration/deceleration of apparatus 700, and a change in temperature of apparatus 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is understood that "a plurality" in this disclosure means two or more, and other words are analogous. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that the terms "first," "second," and the like are used to describe various information and that such information should not be limited by these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the terms "first," "second," and the like are fully interchangeable. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It is to be understood that although operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (18)

1. A network content access method is applied to a first electronic device and comprises the following steps:
determining network content to be accessed, wherein the network content to be accessed is content to be acquired by accessing a mobile network;
sending a network content acquisition request to second electronic equipment, wherein the network content acquisition request comprises attribute information of network content to be accessed, and the second electronic equipment and the first electronic equipment establish a relationship in advance;
receiving response information sent by the second electronic device based on the network content acquisition request, wherein the response information represents whether the network content to be accessed is stored locally in the second electronic device;
and when the response information indicates that the second electronic device locally stores the network content to be accessed, receiving the network content to be accessed pushed by the second electronic device based on near field communication.
2. The method of claim 1, further comprising:
and when the response information indicates that the second electronic equipment locally stores the network content to be accessed, stopping sending a network content acquisition request to the mobile network.
3. The method of claim 1, further comprising:
and when the response information indicates that the second electronic equipment does not locally store the network content to be accessed, sending a network content acquisition request to a mobile network, and acquiring the network content to be accessed by accessing the mobile network.
4. The network content accessing method according to claim 1 or 2, wherein the second electronic device and the first electronic device have a pre-established association relationship including any one or more of the following:
the second electronic equipment is matched in advance and is in a close-range communication connection state with the first electronic equipment;
the second electronic device and the first electronic device are in close range communication at historical time;
the second electronic equipment is matched with the user input equipment identification acquired by the first electronic equipment;
the second electronic equipment and the first electronic equipment are in the same local area network;
the second electronic device and the first electronic device have the same user account.
5. The network content accessing method according to claim 1, wherein before receiving the to-be-accessed network content pushed by the second electronic device based on near field communication, the method further comprises:
if response information of the network content to be accessed is locally stored and sent by at least two pieces of second electronic equipment is received, the network content to be accessed is locally stored
Determining second electronic equipment for pushing the network content to be accessed according to the time sequence of receiving the response information;
sending a notification message to a second electronic device pushing the network content to be accessed, wherein the notification message is configured to notify the second electronic device to push the network content to be accessed.
6. The method of claim 5, further comprising:
if the network content to be accessed comprises at least two batches, determining that the number of second electronic equipment pushing the network content to be accessed is at least two, wherein the batches are divided according to the number or the size of the network content to be accessed;
the notification message further includes a batch identifier of the network content, and the batch identifier is configured to instruct the second electronic device to push the network content to be accessed corresponding to the batch.
7. The network content accessing method according to claim 1, wherein the attribute information of the network content to be accessed includes one or more of a uniform resource locator, a content name, a content size, and a time stamp.
8. The network content accessing method according to claim 1, wherein before sending the network content obtaining request to the second electronic device, the method further comprises:
determining that the first electronic device does not locally store the network content to be accessed.
9. A network content access device, applied to a first electronic device, comprising:
a determining unit configured to determine a network content to be accessed, the network content to be accessed being a content to be acquired by accessing a mobile network;
a sending unit, configured to send a network content obtaining request to a second electronic device, where the network content obtaining request includes attribute information of network content to be accessed, and a relationship is pre-established between the second electronic device and the first electronic device;
an obtaining unit, configured to receive response information sent by the second electronic device based on the network content obtaining request, where the response information indicates whether the network content to be accessed is locally stored in the second electronic device, and when the response information indicates that the network content to be accessed is locally stored in the second electronic device, receive the network content to be accessed pushed by the second electronic device based on near field communication.
10. The network content access device of claim 9, wherein the sending unit is further configured to:
and when the response information indicates that the second electronic equipment locally stores the network content to be accessed, stopping sending a network content acquisition request to the mobile network.
11. The network content access device of claim 9, wherein the sending unit is further configured to:
when the response information indicates that the second electronic device does not locally store the network content to be accessed, sending a network content acquisition request to a mobile network;
the obtaining unit is further configured to obtain the network content to be accessed through accessing a mobile network.
12. The apparatus according to claim 9 or 10, wherein the second electronic device and the first electronic device have a pre-established association relationship including any one or more of the following:
the second electronic equipment is matched in advance and is in a close-range communication connection state with the first electronic equipment;
the second electronic device and the first electronic device are in close range communication at historical time;
the second electronic equipment is matched with the user input equipment identification acquired by the first electronic equipment;
the second electronic equipment and the first electronic equipment are in the same local area network;
the second electronic device and the first electronic device have the same user account.
13. The network content access device of claim 9, wherein the obtaining unit is further configured to:
before receiving the to-be-accessed network content pushed by the second electronic equipment based on near field communication, if response information sent by at least two pieces of second electronic equipment and locally stored with the to-be-accessed network content is received, determining the second electronic equipment pushing the to-be-accessed network content according to the time sequence of receiving the response information;
the transmitting unit is further configured to:
sending a notification message to a second electronic device pushing the network content to be accessed, wherein the notification message is configured to notify the second electronic device to push the network content to be accessed.
14. The network content access device of claim 13, wherein the obtaining unit is further configured to:
if the network content to be accessed comprises at least two batches, determining that the number of second electronic equipment pushing the network content to be accessed is at least two, wherein the batches are divided according to the number or the size of the network content to be accessed;
the notification message sent by the sending unit further includes a batch identifier of network content, and the batch identifier is configured to instruct the second electronic device to push network content to be accessed corresponding to the batch.
15. The apparatus according to claim 9, wherein the attribute information of the network content to be accessed includes one or more of a uniform resource locator, a content name, a content size, and a timestamp.
16. The network content access device of claim 9, wherein the determining unit is further configured to: before the sending unit sends a network content obtaining request to the second electronic device, it is determined that the network content to be accessed is not stored locally in the first electronic device.
17. A network content access device, comprising:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to: performing the network content access method of any one of claims 1 to 8.
18. A non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform the network content access method of any one of claims 1 to 8.
CN201910775306.7A 2019-08-21 2019-08-21 Network content access method, device and storage medium Active CN112422597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910775306.7A CN112422597B (en) 2019-08-21 2019-08-21 Network content access method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910775306.7A CN112422597B (en) 2019-08-21 2019-08-21 Network content access method, device and storage medium

Publications (2)

Publication Number Publication Date
CN112422597A true CN112422597A (en) 2021-02-26
CN112422597B CN112422597B (en) 2023-12-12

Family

ID=74779579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910775306.7A Active CN112422597B (en) 2019-08-21 2019-08-21 Network content access method, device and storage medium

Country Status (1)

Country Link
CN (1) CN112422597B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321179A (en) * 2008-01-08 2008-12-10 华为技术有限公司 Method, device and system for implementing resource sharing
CN102299834A (en) * 2011-09-07 2011-12-28 中国联合网络通信集团有限公司 Data sharing method, equipment and system for local area network
US20120278229A1 (en) * 2011-04-29 2012-11-01 Verizon Patent And Licensing Inc. Methods and Systems for Providing Subsidized Access to Network Content
CN103248407A (en) * 2013-04-27 2013-08-14 东莞宇龙通信科技有限公司 Mobile terminal, as well as method and system thereof for accessing and sharing network resources
CN104767767A (en) * 2014-01-02 2015-07-08 中国移动通信集团公司 Method, device and system for sharing Internet access data and network equipment
CN105207980A (en) * 2014-06-26 2015-12-30 联想(北京)有限公司 Information processing method and electronic equipment
EP3051772A1 (en) * 2015-01-29 2016-08-03 Xiaomi Inc. Method and apparatus for accessing network
CN106657132A (en) * 2017-01-09 2017-05-10 北京小米移动软件有限公司 Method and device for accessing website
CN106789470A (en) * 2016-12-23 2017-05-31 Tcl海外电子(惠州)有限公司 terminal resource sharing method, device and system
EP3177077A1 (en) * 2015-12-03 2017-06-07 Xiaomi Inc. Method and device for network access
CN107181624A (en) * 2017-06-30 2017-09-19 联想(北京)有限公司 A kind of method for connecting network, electronic equipment and computer-readable storage medium
CN107454164A (en) * 2017-08-03 2017-12-08 奇酷互联网络科技(深圳)有限公司 Resource downloading method, system, storage medium and computer equipment
CN110049531A (en) * 2019-04-22 2019-07-23 Oppo广东移动通信有限公司 Network resources locating method and relevant apparatus

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321179A (en) * 2008-01-08 2008-12-10 华为技术有限公司 Method, device and system for implementing resource sharing
US20120278229A1 (en) * 2011-04-29 2012-11-01 Verizon Patent And Licensing Inc. Methods and Systems for Providing Subsidized Access to Network Content
CN102299834A (en) * 2011-09-07 2011-12-28 中国联合网络通信集团有限公司 Data sharing method, equipment and system for local area network
CN103248407A (en) * 2013-04-27 2013-08-14 东莞宇龙通信科技有限公司 Mobile terminal, as well as method and system thereof for accessing and sharing network resources
CN104767767A (en) * 2014-01-02 2015-07-08 中国移动通信集团公司 Method, device and system for sharing Internet access data and network equipment
CN105207980A (en) * 2014-06-26 2015-12-30 联想(北京)有限公司 Information processing method and electronic equipment
EP3051772A1 (en) * 2015-01-29 2016-08-03 Xiaomi Inc. Method and apparatus for accessing network
EP3177077A1 (en) * 2015-12-03 2017-06-07 Xiaomi Inc. Method and device for network access
CN106789470A (en) * 2016-12-23 2017-05-31 Tcl海外电子(惠州)有限公司 terminal resource sharing method, device and system
CN106657132A (en) * 2017-01-09 2017-05-10 北京小米移动软件有限公司 Method and device for accessing website
CN107181624A (en) * 2017-06-30 2017-09-19 联想(北京)有限公司 A kind of method for connecting network, electronic equipment and computer-readable storage medium
CN107454164A (en) * 2017-08-03 2017-12-08 奇酷互联网络科技(深圳)有限公司 Resource downloading method, system, storage medium and computer equipment
CN110049531A (en) * 2019-04-22 2019-07-23 Oppo广东移动通信有限公司 Network resources locating method and relevant apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
B. NIVEN-JENKINS, ED.; NOKIA;R. VAN BRANDENBURG, ED.;TNO;: "Request Routing Redirection Interface for Content Delivery Network (CDN) Interconnection", IETF *
郎为民;陈凯;赵旭;瞿连政: "移动云设备资源共享机制研究", 电信快报 *

Also Published As

Publication number Publication date
CN112422597B (en) 2023-12-12

Similar Documents

Publication Publication Date Title
JP6062608B2 (en) Web page access method, apparatus, server, terminal, program, and recording medium
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
RU2623502C2 (en) Method and device for image transmission
CN109388625B (en) Method and device for processing configuration file in multi-distributed file system
CN108804244B (en) Data transmission method, device and storage medium
CN109525652B (en) Information sharing method, device, equipment and storage medium
CN107220059B (en) Application interface display method and device
US20220286740A1 (en) Method and apparatus for video playing
CN107402767B (en) Method and device for displaying push message
CN108280342B (en) Application synchronization method and device for application synchronization
CN112463418A (en) Cross-device information sharing method, device, medium and electronic device
CN105721283B (en) Method, device and equipment for sending screenshot message
CN104951522B (en) Method and device for searching
CN104572230B (en) Script file loading method and device and script file generating method and device
CN105095296B (en) File management method and device
CN111079040B (en) Resource sniffing method, device, terminal, server and storage medium
CN109245992B (en) Request processing method and device, electronic equipment and storage medium
CN111695064A (en) Embedded point loading method and device
CN112769677B (en) Data synchronization method, apparatus, electronic device, storage medium, and program product
CN112422597B (en) Network content access method, device and storage medium
CN115185571A (en) Application data management method and device, electronic equipment and storage medium
CN114385373A (en) Data sharing method, data sharing device and computer readable storage medium
CN112102009A (en) Advertisement display method, device, equipment and storage medium
CN107257384B (en) Service state monitoring method and device
CN106843860B (en) Method, device and system for adjusting display style of search box

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