CN113068190A - Information sharing method and device - Google Patents

Information sharing method and device Download PDF

Info

Publication number
CN113068190A
CN113068190A CN202110308687.5A CN202110308687A CN113068190A CN 113068190 A CN113068190 A CN 113068190A CN 202110308687 A CN202110308687 A CN 202110308687A CN 113068190 A CN113068190 A CN 113068190A
Authority
CN
China
Prior art keywords
terminal
attribute information
network
group
server
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.)
Pending
Application number
CN202110308687.5A
Other languages
Chinese (zh)
Inventor
许超杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110308687.5A priority Critical patent/CN113068190A/en
Publication of CN113068190A publication Critical patent/CN113068190A/en
Priority to PCT/CN2022/077668 priority patent/WO2022199313A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

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

Abstract

The embodiment of the application discloses an information sharing method and device, wherein the method is applied to a first terminal, and the method comprises the following steps: the first terminal sends first attribute information to the server; the first attribute information includes attribute information of at least one first network to which the first terminal has connected; receiving second attribute information sent by the server; the second attribute information includes: the attribute information of the at least one first network and the attribute information of the at least one second network connected with the second terminal; accessing at least one of the first network and the second network based on the second attribute information.

Description

Information sharing method and device
Technical Field
The embodiment of the application relates to but is not limited to a communication technology, and in particular relates to an information sharing method and device.
Background
With the development of internet technology, people access the internet more and more frequently through wireless networks. However, in the related information, when a user needs to use a wireless network to surf the internet, the user needs to first search for a Service Set Identifier (SSID) of the wireless network, and then input a password corresponding to the SSID to access the wireless network.
However, when a certain terminal uses a wireless network that has never been connected, a password corresponding to the wireless network needs to be input, so that the user cannot conveniently use the wireless network. In addition, when the user forgets the wireless network, the user cannot correctly input the password corresponding to the wireless network, which results in the situation that the user cannot access the wireless network.
Disclosure of Invention
The embodiment of the application provides an information sharing method and device.
In a first aspect, an information sharing method is provided, which is applied to a first terminal, and includes:
sending first attribute information to a server; the first attribute information includes attribute information of at least one first network to which the first terminal has connected;
receiving second attribute information sent by the server; the second attribute information includes: the first attribute information and attribute information of at least one second network connected with the second terminal;
accessing at least one of the first network and the second network based on the second attribute information.
In a second aspect, an information sharing method is provided, which is applied to a server, and includes:
receiving first attribute information sent by a first terminal; the first attribute information includes attribute information of at least one first network to which the first terminal has connected;
combining the first attribute information and the acquired attribute information of at least one second network connected with the second terminal to obtain second attribute information;
and sending the second attribute information to the first terminal.
In a third aspect, an information sharing apparatus is provided, including:
a storage unit to: storing the first attribute information or storing the second attribute information; the first attribute information comprises attribute information of at least one first network connected with the first terminal; the second attribute information includes the first attribute information and attribute information of at least one second network to which the second terminal is connected;
a communication unit to: sending the first attribute information to the server; receiving second attribute information sent by the server;
a configuration management unit to: reading the first attribute information from the storage unit, and sending the first attribute information to the communication unit; receiving second attribute information sent by the communication unit, deleting the first attribute information, and writing the second attribute information into the storage unit;
an access unit to: accessing at least one of the first network and the second network based on the second attribute information.
In a fourth aspect, an information sharing apparatus is provided, including:
the communication unit is used for receiving first attribute information sent by a first terminal; the first attribute information includes attribute information of at least one first network to which the first terminal has connected;
a merging unit, configured to merge the first attribute information and the obtained attribute information of at least one second network connected to the second terminal to obtain second attribute information;
the communication unit is further configured to send the second attribute information to the first terminal.
In the embodiment of the application, after the first terminal sends the attribute information of at least one first network connected to the first terminal to the server, the first terminal can receive the second attribute information sent by the server, where the second attribute information includes the attribute information of at least one first network and the second attribute information of the attribute information of at least one second network connected to the second terminal, so that the first terminal can access at least one of the first network and the second network based on the second attribute information, and thus, the first terminal can automatically access any one second network based on the attribute information of the second network in the second attribute information when the first terminal needs to access the second network, and a password of the second network does not need to be manually input by a user, so that the user can conveniently access any one second network connected to the second terminal.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic architecture diagram of a communication system according to an embodiment of the present application;
fig. 2 is a schematic view of an implementation flow of an information sharing method according to an embodiment of the present disclosure;
fig. 3 is a schematic view of an implementation flow of another information sharing method according to an embodiment of the present disclosure;
fig. 4 is a schematic view of an implementation flow of another information sharing method according to an embodiment of the present application;
fig. 5 is a schematic architecture diagram of another communication system according to an embodiment of the present application;
fig. 6 is a schematic flow chart illustrating an implementation of another information sharing method according to an embodiment of the present application;
fig. 7 is a schematic flow chart illustrating an implementation of an information sharing method according to another embodiment of the present application;
fig. 8 is a schematic view of an implementation flow of an information sharing method according to another embodiment of the present application;
fig. 9 is a schematic flow chart illustrating an implementation of an information sharing method according to yet another embodiment of the present application;
fig. 10 is a schematic structural diagram of an information sharing apparatus according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of another information sharing apparatus according to an embodiment of the present disclosure.
Detailed Description
The technical solution of the present application will be specifically described below by way of examples with reference to the accompanying drawings. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
It should be noted that: in the present examples, "first", "second", etc. are used for distinguishing similar objects and are not necessarily used for describing a particular order or sequence.
The technical means described in the embodiments of the present application may be arbitrarily combined without conflict.
When the terminal is connected to an encrypted wireless network for the first time, a password needs to be input, and now as the wireless network coverage is increased, the terminal is replaced more and more frequently by a user, the situation that the user uses a plurality of terminals at the same time is increased, and the password is enabled to perform access protection when the wireless network is covered, so that the user often needs to input the password of the wireless network to access a new network.
In order to avoid the problem that the user needs to input a password when accessing a new network, which causes the user to have trouble operating, the user can set the network to be in a secret-free access mode. However, in this case, any terminal under the coverage of the network can access the network, which not only results in that the privacy of the user cannot be protected, but also results in that the network speed is slow due to too many terminals in the access network.
Fig. 1 is a schematic architecture diagram of a communication system according to an embodiment of the present application, and as shown in fig. 1, the communication system 100 includes a server 101, a first terminal 102, and a second terminal 103.
The server 101 in the embodiment of the present application may include one of the following: cloud servers, cloud platforms, cloud devices, Wi-Fi access points, Transmission Reception Points (TRPs), relay stations, and the like.
Any terminal in the embodiments of the present application (e.g., the first terminal 102, the second terminal 103, or a third terminal described below) may include one of the following: mobile Phone (Mobile Phone), tablet computer (Pad), computer with wireless transceiving function, palm computer, desktop computer, personal digital assistant, portable media player, intelligent sound box, navigation device, intelligent watch, intelligent glasses, intelligent necklace and other wearable devices, pedometer, digital TV, Virtual Reality (VR) terminal device, Augmented Reality (AR) terminal device, wireless terminal in Industrial Control (Industrial Control), wireless terminal in unmanned Driving (Self Driving), wireless terminal in Remote Medical Surgery (Remote Surgery), wireless terminal in Smart Grid, wireless terminal in Transportation Safety (Transportation Safety), wireless terminal in Smart City (Smart City), wireless terminal in Smart Home (Smart Home), and car, car-mounted device, car-mounted module, and the like in a car networking system.
The server 101 and the first terminal 102 may perform wired communication or wireless communication, and the server 101 and the second terminal 103 may perform wired communication or wireless communication. For example, the first terminal 102, the server 101, and the second terminal 103 may each be provided with a communication module, which may include at least one of: a Wi-Fi module, a bluetooth module, a near field communication module, a mobile wireless communication module, etc., the communication module of the first terminal 102 may communicate with the communication module of the server 101 to enable communication between the first terminal 102 and the server 101, and the communication module of the second terminal 103 may communicate with the communication module of the server 101 to enable communication between the second terminal 103 and the server 101.
Fig. 2 is a schematic view of an implementation flow of an information sharing method provided in an embodiment of the present application, and as shown in fig. 2, the method is applied to a first terminal, and the method includes:
s201, a first terminal sends first attribute information to a server; the first attribute information includes attribute information of at least one first network to which the first terminal has connected.
In some embodiments, the at least one first network may be all networks to which the first terminal has connected. For example, in the case where the first terminal is connected through network a, network B, and network C, at least one of the networks may be network a, network B, and network C. In other embodiments, the at least one first network may be at least one first network selected by the first terminal from all networks connected. For example, in a case where the first terminal is connected to the network a, the network B, and the network C, the terminal may set the network C to a state in which sharing is prohibited in response to an operation for prohibiting sharing with respect to the network C, so that the at least one first network may include the network a and the network B. For another example, the terminal may set the network a and the network B in a state of allowing sharing in response to an operation of allowing sharing for the network a and the network B, so that the at least one first network may include the network a and the network B.
The first attribute information may be current attribute information. In some embodiments, the first terminal may send the first attribute information to the server at a set interval duration. The set time period may be a fixed time period or a non-fixed time period. For example, the set time period is determined based on the frequency of use of the period. The frequency of use of the terminal by the user is higher from 6 o 'clock to 24 o' clock in the day, and thus the set duration may be set longer, and the frequency of use of the terminal by the user is lower from 0 o 'clock to 6 o' clock in the day, and thus the set duration may be set shorter. In other embodiments, the first terminal may send the first attribute information to the server after receiving a request sent by the server to request the first attribute information. In still other embodiments, the first terminal may send the changed current attribute information to the server when the current attribute information changes.
In the embodiment of the present application, the first network, the second network described below, or the third network may be a wireless network or a wired network, or may be a local area network or a wide area network. The local area network may be, for example, a Wi-Fi network.
In this embodiment, the attribute information may include: name of network, encryption mode, password, etc. The name of the network may include an SSID of the network, the encryption mode may include Wi-Fi protected access (WPA), Wired Equivalent Privacy (WEP), or a nopass representing that authentication is not required, and the password may be a password required by the network corresponding to the name of the network. For example, the attribute information may include { WIFI: T: WPA; s, mynetwork; p is mypass; (ii) a And the WIFI can be understood as the same as the Wi-Fi, the T is that the WPA represents that the authentication type is WPA, the S is that the mynetwork represents that the SSID of the wireless network is mynetwork, and the P is that the mypass represents that the password of the wireless network is mypass.
In some embodiments, the first terminal may send a configuration file or a sharing file to the server, where the configuration file or the sharing file includes the first attribute information. In other embodiments, the first terminal may send a first image to the server, where the first image carries the first attribute information. In some embodiments, the first terminal may send an identification code, such as a two-dimensional code, to the server, where the identification code carries the first attribute information.
S202, the first terminal receives second attribute information sent by the server; the second attribute information includes: the first attribute information and attribute information of at least one second network to which the second terminal has connected.
In some embodiments, the at least one second network may be all networks to which the second terminal has connected. In other embodiments, the at least one second network may be at least one second network selected by the second terminal from all networks connected.
In some embodiments, after receiving the first attribute information, the server may obtain attribute information of at least one second network to which the second terminal is connected; and combining the first attribute information and the attribute information of at least one second network to obtain second attribute information. In some embodiments, the server may have stored therein attribute information of at least one second network. In other embodiments, the server may receive at least one second network attribute information transmitted by the second terminal.
The second attribute information may be a union of the first attribute information and attribute information of at least one second network. For example, the first attribute information may include { WIFI1: T: WPA; s, mynetwork 1; p is mypass 1; (ii) a WIFI2, T is WPA; s, mynetwork 2; p is mypass 2; (ii) a Attribute information of the at least one second network may include { WIFI2: T: WPA; s, mynetwork 2; p is mypass 2; (ii) a WIFI3, T is WPA; s, mynetwork 3; p is mypass 3; (ii) a And the second attribute information may include { WIFI1: T: WPA; s, mynetwork 1; p is mypass 1; (ii) a WIFI2, T is WPA; s, mynetwork 2; p is mypass 2; (ii) a WIFI3, T is WPA; s, mynetwork 3; p is mypass 3; (ii) a }.
S203, the first terminal accesses at least one of the first network and the second network based on the second attribute information.
The second attribute information includes not only the attribute information of at least one first network connected to the first terminal, but also the attribute information of at least one second network connected to the second terminal, so that the first terminal can be automatically connected to at least one of the first network and the second network directly based on the second attribute information without the operation of inputting a password by a user because the second attribute information includes information such as the name, encryption mode, password and the like of each first network and each second network. For example, the first terminal may automatically connect to a certain first network and/or a certain second network based on the second attribute information if the first terminal is within the coverage of the first network and/or within the coverage of the second network. In implementation, the condition that the first terminal is connected to a certain network may include: the first terminal is within the coverage of the network. Further, at least one of the following can be included: the first terminal detects that the signal intensity of the network is greater than a certain threshold value; the first terminal determines that the communication link quality is good to a certain degree; the duration that the first terminal resides in the network is longer than a preset duration, and so on.
In the embodiment of the application, after the first terminal sends the attribute information of at least one first network connected to the first terminal to the server, the first terminal can receive the second attribute information sent by the server, where the second attribute information includes the attribute information of the at least one first network and the second attribute information of the attribute information of at least one second network connected to the second terminal, so that the first terminal can access at least one of the first network and the second network based on the second attribute information, and thus, the first terminal can automatically access any one of the second networks based on the attribute information of the second network in the second attribute information when the first terminal needs to access the second network, and a password of the second network does not need to be manually input by a user, so that the user can conveniently access any one of the second networks connected to the second terminal.
Fig. 3 is a schematic view of an implementation flow of another information sharing method provided in an embodiment of the present application, and as shown in fig. 3, the method includes:
s301, the first terminal sends first attribute information to the server; the server receives the first attribute information sent by the first terminal.
Wherein the first attribute information includes attribute information of at least one first network to which the first terminal has connected.
S302, the server combines the first attribute information and the acquired attribute information of at least one second network connected with the second terminal to obtain second attribute information.
In some embodiments, the server may pre-store in its memory attribute information of the at least one second network. In other embodiments, the server may receive the at least one second network attribute information sent by the second terminal. For example, the second terminal may transmit the attribute information of the at least one second network to the server at a specific interval and for a specific length. For another example, the second terminal may send the attribute information of the at least one second network to the server after receiving a request sent by the server to request the attribute information of the at least one second network. For another example, the attribute information of the at least one second network may be current attribute information, and when the current attribute information changes, the second terminal transmits the changed attribute information of the at least one second network to the server.
S303, the server sends second attribute information to the first terminal; and the first terminal receives the second attribute information sent by the server.
Wherein the second attribute information includes: at least one attribute information of the first network and at least one attribute information of the second network to which the second terminal is connected.
S304, the first terminal accesses at least one of the first network and the second network based on the second attribute information.
In the implementation process, the following steps can be further executed:
s305, the server sends second attribute information to the second terminal; and the second terminal receives the second attribute information sent by the server.
S306, the second terminal accesses at least one of the first network and the second network based on the second attribute information.
In this way, the first terminal and the second terminal can access not only at least one first network connected with the first terminal but also at least one second network connected with the second terminal without the need of inputting a network password by a user.
In the implementation process, the identifier of the first terminal and the identifier of the second terminal may be in a group, and the server, the first terminal and the second terminal may maintain the group. The first terminal and the second terminal can send the attribute information of the networks connected with the first terminal and the second terminal to the server based on the group, the server can combine the attribute information of the networks connected with the first terminal and the second terminal based on the group and send the combined attribute information to the first terminal and the second terminal, and therefore the first terminal and the second terminal can share the networks connected with the first terminal and the second terminal, and the first terminal and the second terminal can be conveniently connected to any network connected with the other terminal. The group here may be any one of the groups mentioned in the following embodiments, including the identity of the first terminal and the identity of the second terminal, e.g. the first group, the second group or the third group, etc.
In the embodiment of the present application, the identifier of any terminal (e.g., the first terminal, the second terminal, or the third terminal) can identify the terminal. For example, the identification of the terminal may include one of: an International Mobile Equipment Identity (IMEI) of the terminal, account information (e.g., hua is an account number or an apple account number) of the terminal, members corresponding to the terminal (e.g., a first member corresponding to the first terminal, a second member corresponding to the second terminal, and a third member corresponding to the third terminal), and a third party account number (e.g., a QQ account number, a wechat account number, a payroll account number, a Mobile phone number, etc.) associated with the terminal. The members corresponding to the terminal can be Zhang three, Li four, dad or mom, etc. In some embodiments, the identity of the terminal may be an identity that uniquely identifies the terminal. In other embodiments, the terminal identifications of different terminals may be the same, e.g., there may be two and three.
In some embodiments, the group may further include an identifier of the third terminal, so that the server can receive the attribute information of at least one third network connected to the third terminal, which is sent by the third terminal, merge the attribute information of the networks connected to each of the first terminal, the second terminal, and the third terminal, and send the merged attribute information to the first terminal, the second terminal, and the third terminal, respectively, so that any one of the first terminal, the second terminal, and the third terminal can be connected to the network connected to the other terminals in the group based on the merged attribute information without inputting a password.
By the method, the terminals corresponding to the identifiers of the terminals in the group can share the connected network, so that the user can conveniently access the network.
Fig. 4 is a schematic view of an implementation flow of another information sharing method provided in an embodiment of the present application, and as shown in fig. 4, the method includes:
s401, the first terminal responds to the operation aiming at creating the first group and generates the first group.
Wherein the first group comprises an identity of the first terminal and an identity of the second terminal.
In some embodiments, the first terminal may display a creation control for creating a group or creating a new group on a setting interface or an installed application program interface, where the setting interface is, for example, a Wireless Local Area Network (WLAN) setting interface, or an interface under a Wireless Local Area Network option in a setting. The first terminal may display an identification list of the terminals in response to a trigger operation for creating the control, the identification list of the terminals including identifications of the plurality of terminals, the user may select an identification of at least one terminal including an identification of the second terminal from the list, and after the user selection is determined, the first terminal generates a first group, which may include the identification of the first terminal and the identification of the second terminal.
In other embodiments, the first terminal may display a list of identifiers of terminals, and the user may select an identifier of at least one terminal including an identifier of the second terminal from the list, and click a creation control of a creation group or a new creation group displayed on the first terminal, so that the first terminal generates the first group.
It should be noted that there may be other ways of generating the first group, which are not listed in the embodiments of the present application, and any scheme for generating the first group by the first terminal in response to the operation for creating the first group should be within the scope of the present application.
In an implementation, the first group may be a group with a group owner, and the group owner may correspond to an identifier of the first terminal, or the first group may be a group without a group owner.
The first terminal may display the first group, for example, the first terminal may display an identifier of the first terminal and an identifier of the second terminal included in the first group in response to a trigger operation of the user on the first group.
The first terminal may store the first group. In this embodiment of the present application, the number of the identifiers of the terminals included in the first group may be greater than or equal to two, and the first group may further include identifiers of other terminals.
S402, the first terminal sends a first group to the server; the server receives a first group sent by a first terminal; the server sends the first group to the second terminal.
The server may store the first group. The second terminal may store and display the first group after obtaining the first group.
S403, the first terminal sends first attribute information to the server; the server receives the first attribute information sent by the first terminal.
S404, the second terminal sends attribute information of at least one second network connected with the second terminal to the server; the server receives the attribute information of at least one second network sent by the first terminal.
The first terminal may transmit the first attribute information to the server based on the first group, and the second terminal may transmit the attribute information of the at least one second network to the server based on the first group. The first terminal or the second terminal can send the attribute information and the identifier of the first group to the server, so that the server knows that the first terminal and the second terminal are both in the first group, and then sends the second attribute information to the first terminal and the second terminal in the first group.
S405, the server combines the first attribute information and the attribute information of at least one second network to obtain second attribute information.
In some embodiments, the server may combine the first attribute information and the at least one second network attribute information to obtain the second attribute information, in a case that it is determined that the identifier of the first terminal that transmits the first attribute information and the identifier of the second terminal that transmits the at least one second network attribute information are both within the first group.
S406, the server sends second attribute information to the first terminal; and the first terminal receives the second attribute information sent by the server.
S407, the server sends second attribute information to the second terminal; and the second terminal receives the second attribute information sent by the server.
S408, the first terminal accesses at least one of the first network and the second network based on the second attribute information.
S409, the second terminal accesses at least one of the first network and the second network based on the second attribute information.
In this embodiment of the present application, a first terminal creates a first group, where the first group includes an identifier of the first terminal and an identifier of a second terminal, so that network sharing between the first terminal and the second terminal can be achieved.
Fig. 5 is a schematic architecture diagram of another communication system according to an embodiment of the present application, and as shown in fig. 5, the communication system 500 includes a server 501, a first terminal 502, and a second terminal 503. The server 501, the first terminal 502, and the second terminal 503 may be the same as the server 101, the first terminal 102, and the second terminal 103 in fig. 1.
The first terminal 502 may include a first configuration management module 5021, a first setup module 5022, and a first wireless communication module 5023. The first setting module 5022 includes a first sharing management module and a first user management module.
The first terminal 502 may be connected to one or more encrypted or unencrypted wireless networks, and information such as the name, encryption mode, password, etc. of the connected network is stored in the configuration file of the first terminal 502. The first configuration management module 5021 may read information such as SSID name, encryption scheme, and password of at least one first network (e.g., WLAN) connected from a configuration file of the first terminal 502, and generate a first share file based on the information such as SSID name, encryption scheme, and password of the at least one first network. The first configuration management module 5021 may send the first shared file to the first user management module, and the first user management module confirms the group where the first terminal 502 is located, for example, the first user management module confirms that the first terminal 502 joins the group G, and sends the group G identifier and the first shared file to the first shared management module, so that the first shared management module sends the group G identifier and the first shared file to the first wireless communication module 5023, so that the first wireless communication module 5023 uploads the group G identifier and the first shared file to the server 501 through wireless communication methods such as WLAN/mobile wireless communication network.
Similarly, the second terminal 503 may include a second configuration management module 5031, a second setting module 5032, and a second wireless communication module 5033. The second setting module 5032 includes a second sharing management module and a second user management module.
The second configuration management module 5031 of the second terminal 503 may read the SSID name, the encryption scheme, the password and other information of the at least one second network connected from the WLAN configuration file of the second terminal 503, and generate a second sharing file based on the SSID name, the encryption scheme, the password and other information of the at least one first network. The second configuration management module 5031 may send the second shared file to the second user management module, and the second user management module determines that the second terminal 503 joins the group G, and sends the group G identifier and the shared file to the second wireless communication module 5033 through sending the second shared management module, so that the second wireless communication module 5033 uploads the group G identifier and the second shared file to the server 501 through a wireless communication method such as a WLAN/mobile wireless communication network.
The server 501 may combine the first shared file and the second shared file, and send the combined shared file and the group G identifier to the first terminal 502 and the second terminal 503, respectively. Thus, after receiving the merged shared file and the group G identifier, the first terminal 502 and the second terminal 503 respectively determine whether their own identifiers are in the group G through the first user management module and the second user management module, and if so, respectively write the shared file into the configuration file. In this way, both the first terminal 502 and the second terminal 503 can be connected to not only the first network but also the second network based on the shared file.
Fig. 6 is a schematic view of an implementation flow of another information sharing method provided in an embodiment of the present application, and as shown in fig. 6, the method includes:
s601, the first terminal sends first attribute information to the server; the server receives the first attribute information sent by the first terminal.
S602, the server merges the first attribute information, the acquired attribute information of the at least one second network connected with the second terminal, and the acquired attribute information of the at least one third network connected with the third terminal to obtain third attribute information.
S603, the server sends third attribute information to the first terminal; and the first terminal receives the third attribute information sent by the server.
S604, the first terminal accesses at least one of the first network, the second network, and the third network based on the third attribute information.
In the implementation process, the following steps can be further executed:
s605, the server sends third attribute information to the second terminal and the third terminal respectively; and the second terminal and the third terminal respectively receive the third attribute information sent by the server.
S606, the second terminal and the third terminal access at least one of the first network, the second network and the third network based on the third attribute information, respectively.
In the embodiment of the application, the first terminal, the second terminal and the third terminal can share the attribute information of the connected network, so that any terminal can be accessed to the network connected with other terminals based on the attribute information of the network connected with other terminals without the operation of inputting passwords by a user, and the problem of network access trouble caused by password input by the user is avoided.
Although the embodiment of the present application has been described as the case where the first terminal, the second terminal, and the third terminal may share the attribute information of the network to which the first terminal, the second terminal, and the third terminal are connected, the embodiment of the present application is not limited thereto, and during the implementation, more terminals (for example, the fourth terminal, the fifth terminal, and the like) may share the attribute information of the network to which the first terminal, the second terminal, and the third terminal are connected.
In some embodiments, the first terminal, the second terminal and the third terminal share the attribute information of the network connected to them, and it is required to ensure that the identifier of the first terminal, the identifier of the second terminal and the identifier of the third terminal are in a group, and fig. 7 and 8 illustrate a method for creating a group including the identifier of the first terminal, the identifier of the second terminal and the identifier of the third terminal.
In the embodiments corresponding to fig. 7 and 8, the identifier of the first terminal and the identifier of the second terminal are in the first group, and an implementation manner of adding the identifier of the third terminal to the first group is as follows:
fig. 7 is a schematic view of an implementation flow of an information sharing method according to another embodiment of the present application, and as shown in fig. 7, the method includes:
s701, the first terminal sends first request information to a server; the server receives first request information sent by the first terminal.
The first request information indicates to invite a third terminal to join the first group to generate a second group; the first group includes an identification of the first terminal and an identification of the second terminal.
The first terminal may display an invitation control representing an invitation to join other terminals, and in a case where the user triggers the invitation control, may display a terminal list or an input box, and the first terminal may generate the first request information in response to an operation of the user selecting the third terminal from the terminal list, or an operation of inputting an identifier of the third terminal in the output box.
S702, the server adds the identifier of the third terminal into the first group to obtain a second group.
The first request information may further include an identifier of the first group, so that the server may add the identifier of the third terminal to the first group based on the identifier of the first group to obtain the second group.
The second group includes: an identity of the first terminal, an identity of the second terminal and an identity of the third terminal.
In some embodiments, the server may send information for characterizing whether to join the first group to the third terminal, and add the identifier of the third terminal to the first group after receiving the information for characterizing whether to join the first group sent by the third terminal.
S703, the server sends a second group to the first terminal and the second terminal respectively; and the first terminal and the second terminal receive the second group sent by the server.
In the implementation process, the first group may be originally stored in the first terminal and the second terminal, and after receiving the second group, the first group may be replaced with the second group.
In other embodiments, S703 may be replaced with: the server respectively sends confirmation information representing that the third terminal agrees to join the first group to the first terminal and the second terminal; and the first terminal and the second terminal receive the confirmation information sent by the server.
For example, the server may default to the third terminal agreeing to join the first group, thereby not requiring agreement by the third terminal. For another example, the server may transmit the first request information to the third terminal, and the third terminal may transmit confirmation information indicating that the third terminal agrees to join the first group to the server based on the correlation setting. For another example, the server may transmit the first request information to the third terminal, the third terminal may display a dialog box whether to approve joining the first group, and the third terminal may generate the confirmation information in a case where the third terminal responds to the operation directed to yes. The third terminal may send confirmation information to the server, and the server may add the identifier of the third terminal to the first group based on the confirmation information to obtain the second group. In addition, the server may transmit the confirmation information to the first terminal and the second terminal, or the server may transmit the second group to the first terminal and the second terminal based on the confirmation information.
S704, the server sends the second group to the third terminal; and the third terminal receives the second group sent by the server.
The third terminal may store the second group after receiving the second group. After the first terminal, the second terminal and the third terminal obtain the second group, the second group can be displayed.
S705, the first terminal and the second terminal replace the stored first group with a second group.
In other embodiments, S705 may be replaced with: and the first terminal and the second terminal add the identifier of the third terminal to the first group based on the confirmation information to obtain a second group.
The first terminal and the second terminal originally display a first group including the identifier of the first terminal and the identifier of the second terminal, and after obtaining the second group, the second group is displayed instead of the first group. In practice, the names of the first and second groups may be the same or different.
S706, the first terminal sends first attribute information to the server; the server receives the first attribute information sent by the first terminal.
S707, the second terminal sends at least one second network attribute information to the server; and the server receives the attribute information of at least one second network sent by the second terminal.
S708, the third terminal sends the attribute information of at least one third network to the server; and the server receives the attribute information of at least one third network sent by the third terminal.
S709, the server merges the first attribute information, the attribute information of the at least one second network, and the attribute information of the at least one third network to obtain third attribute information.
In some embodiments, the first terminal, the second terminal, and the third terminal may further send an identifier of the second group to the server, so that the server may determine, based on the identifier of the second group, that the identifier of the first terminal, the identifier of the second terminal, and the identifier of the third terminal are all in the second group, thereby obtaining the third attribute information.
S710, the server sends third attribute information to the first terminal, the second terminal and the third terminal respectively; and the first terminal receives the third attribute information sent by the server.
S711, the first terminal, the second terminal, and the third terminal access at least one of the first network, the second network, and the third network based on the third attribute information.
In some embodiments, the server may further send the identifier of the second group to the first terminal, the second terminal, and the third terminal, respectively, so that the first terminal, the second terminal, and the third terminal may determine whether the identifier thereof is in the second group, respectively, so as to confirm whether the third attribute information sent by the server meets the requirement.
Fig. 8 is a schematic view of an implementation flow of an information sharing method according to another embodiment of the present application, and a difference between the embodiment corresponding to fig. 8 and the embodiment corresponding to fig. 7 is that S701 to S705 in the embodiment corresponding to fig. 7 are replaced with S801 to S806:
s801, the third terminal sends second request information to the server; and the server receives second request information sent by the third terminal.
The second request information indicates that the third terminal requests to join the first group to generate a second group; the first group includes an identification of the first terminal and an identification of the second terminal. The second request information may include an identification of the first group.
In some embodiments, the third terminal may display an input box, and the user may input the identification of the first group based on the input box, and after the user triggers the confirmation, the third terminal may generate the second request information in response to the input operation of the user. In other embodiments, the third terminal may display one or more groups that may be joined in the surroundings, and then generate the second request information in response to an operation directed to a first group of the one or more groups. In still other embodiments, the third terminal may scan an identification code, such as a two-dimensional code, to generate the second request message, where the identification code may be displayed on the first terminal and/or the second terminal.
S802, the server sends second request information to the first terminal; and the first terminal receives the second request information sent by the server.
S803, the first terminal sends response information representing that the third terminal is allowed to join the first group to the server; and the server receives the response information sent by the first terminal.
In some embodiments, the first terminal may be a terminal corresponding to a group owner of the first group. In other embodiments, S802 and S803 may be replaced with: and the server sends the second request information to the second terminal, and receives response information sent by the second terminal. In still other embodiments, the server may send the second request information not only to the first terminal, but also to the second terminal. And after receiving the response information to be sent by the first terminal and the second terminal, adding the identifier of the third terminal into the first group.
S804, the server adds the identifier of the third terminal to the first group based on the response information to obtain a second group.
S805, the server sends the second group to the first terminal, and the first terminal receives the second group sent by the server.
S806, the first terminal replaces the first group in the first terminal with the second group.
In some embodiments, the server may send the second group to the second terminal to cause the second terminal to replace the first group in the second terminal with the second group. The server may transmit the second group to the third terminal to cause the third terminal to store the second group.
And the second group is obtained by adding the identifier of the third terminal into the first group by the server.
In some embodiments, S805 and S806 may be replaced with the following steps: and the first terminal adds the identifier of the third terminal into the first group to obtain a second group.
In some embodiments, after the first terminal can access at least one of the first network and the second network, the first terminal may further add the attribute information of the target network to the second attribute information to obtain fourth attribute information in a case where the first terminal accesses the target network outside the first network and the second network; and sending the fourth attribute information to the server.
Thus, in some embodiment modes, the server may receive the fourth attribute information sent by the first terminal; modifying the second attribute information in the server into fourth attribute information; the fourth attribute information includes: the second attribute information and the attribute information of a target network of the first terminal accessed to the first network and the second network; and sending the fourth attribute information to the second terminal.
In other embodiments, the server receives attribute information of a target network outside the first network and the second network, which is sent by the first terminal; adding the attribute information of the target network into the second attribute information to obtain fourth attribute information; and sending the attribute information of the target network to the second terminal. In this way, the second terminal may add the attribute information of the target network to the stored second attribute information to obtain the fourth attribute information.
In some embodiments, the first terminal may modify the attribute information of the designated network in response to an attribute modification operation for the designated network of the at least one first network and the at least one second network, to obtain fifth attribute information; and sending the fifth attribute information to the server.
Thus, the server can receive the fifth attribute information sent by the first terminal; modifying the second attribute information in the server into fifth attribute information; and sending the fifth attribute information to the second terminal. Thereby enabling synchronization of the attribute information maintained in the first terminal, the second terminal, and the server.
The sequence of obtaining the fourth attribute information and the fifth attribute information is not limited in the embodiment of the application.
In some embodiments, in the case that the first terminal accesses a target network outside the first network and the second network, adding attribute information of the target network to the second attribute information to obtain fourth attribute information; after sending the fourth attribute information to the server, the first terminal may further perform the following steps: responding to attribute modification operation aiming at least one first network, at least one second network and a designated network in a target network, and modifying attribute information of the designated network to obtain fifth attribute information; and sending the fifth attribute information to the server.
In other embodiments, in response to an attribute modification operation for a specified network of the at least one first network and the at least one second network, modifying attribute information for the specified network to obtain fifth attribute information; after sending the fifth attribute information to the server, the first terminal may further perform the following steps: under the condition that the first terminal accesses a first network and a target network outside a second network, adding attribute information of the target network into the second attribute information to obtain fourth attribute information; and sending the fourth attribute information to the server.
The first terminal may also remove the identity of the second terminal or the identity of the third terminal in the second group. For example, the first terminal may delete the identifier of the second terminal or the identifier of the third terminal in the second group to obtain a third group in response to an operation for removing the identifier of the second terminal or the identifier of the third terminal in the second group; the third group is sent to the server. Thus, the server can receive the third group sent by the first terminal;
in other embodiments, the server may receive indication information sent by the first terminal indicating that the identity of the second terminal or the identity of the third terminal is to be removed from the third group; and deleting the stored identifier of the second terminal in the third group from the identifier of the third terminal based on the indication information to obtain the updated group.
After the server obtains the updated group, indication information may be sent to the second terminal so that the second terminal may exit the third group based on the indication information.
After the second terminal exits the third group, the second terminal no longer displays the third group, and the attribute information of the network used by the second terminal is no longer shared between the first terminal and the second terminal.
In some embodiments, the information sharing method may further include the steps of: the method comprises the steps that a first terminal obtains attribute information of at least one first network connected with the first terminal; sending attribute information of the first network to the second terminal; the attribute information of the first network is used for the second terminal to connect to at least one first network.
In some embodiments, the obtaining, by the first terminal, the attribute information of the first network to which the first terminal is connected includes: responding to a triggering operation aiming at a sharing control displayed by a first terminal, and acquiring attribute information of a first network; sending attribute information of the first network to the second terminal, including: and responding to the trigger operation aiming at the identifier of the second terminal displayed by the first terminal, and sending the attribute information of the first network to the second terminal.
In some embodiments, the sending of the attribute information of the first network to the second terminal comprises one of: sending the identifier of the second terminal and the attribute information of the first network to a server; the identifier of the second terminal and the attribute information of the first network are used for the server to forward to the second terminal; displaying the target identification code based on the attribute information of the first network; the target identification code is used for the second terminal to scan to obtain the attribute information of the first network.
In the embodiments of fig. 1 to 8, the sharing of the attribute information of the network connected between the first terminal and the second terminal is provided, which requires server participation, and the following provides a scheme that can still implement the sharing of the attribute information of the network between the first terminal and the second terminal without server participation:
fig. 9 is a schematic view of an implementation flow of an information sharing method according to still another embodiment of the present application, and as shown in fig. 9, the method is applied to a first terminal, and the method includes:
s901, the first terminal sends first attribute information to the second terminal; the first attribute information includes attribute information of at least one first network to which the first terminal has connected.
After receiving the first attribute information, the second terminal may obtain attribute information of at least one second network to which the second terminal is connected, and then combine the first attribute information and the attribute information of the at least one second network to obtain second attribute information. Thereafter, the second terminal may transmit the second attribute information to the first terminal.
After obtaining the second attribute information, the second terminal may also access at least one of the first network and the second network based on the second attribute information.
S902, the first terminal receives second attribute information sent by the second terminal; the second attribute information includes: the first attribute information and attribute information of at least one second network to which the second terminal has connected.
S903, the first terminal accesses at least one of the first network and the second network based on the second attribute information.
In the embodiment of the application, after the first terminal sends the first attribute information to the second terminal, the second terminal executes the step of combining the first attribute information and at least one second network attribute information, so that the first terminal and the second terminal can share the network attribute information without a server, and the server is not needed in a network architecture, thereby reducing the complexity of the system.
In the embodiment of the application, the password sharing of the cross-platform and cross-terminal wireless network can be effectively realized, and the security and confidentiality can be ensured. Because sharing of information such as the name, the encryption mode, the password and the like of the wireless network needs user confirmation, the information can be ensured to be transmitted only between the trust terminals.
By the information sharing method provided by any embodiment of the application, the problems that a wireless network cannot be automatically connected after a user replaces a new terminal and a password needs to be input can be effectively solved.
By the information sharing method provided by any embodiment of the application, effective information such as passwords of a wireless network can be conveniently shared among trusted users such as family members, actions of inputting the passwords are reduced for the trusted users, and user experience is improved.
By the information sharing method provided by any embodiment of the application, the inexperienced user can be effectively helped by disabled people, low-energy people and the intelligent terminal to reduce the action of inputting the password, and the user experience is improved.
Based on the foregoing embodiments, an information sharing apparatus is provided in an embodiment of the present application, where the apparatus includes each unit and each module included in each unit, and may be implemented by a processor in a first terminal or a server; of course, it may be implemented by a specific logic circuit.
Fig. 10 is a schematic diagram illustrating a structure of an information sharing apparatus according to an embodiment of the present disclosure, and as shown in fig. 10, an information sharing apparatus 1000 may be a first terminal or may be disposed inside the first terminal, and the information sharing apparatus 1000 includes:
a storage unit 1001 for: storing the first attribute information or storing the second attribute information; the first attribute information includes attribute information of at least one first network to which the first terminal has connected; the second attribute information includes the first attribute information and attribute information of at least one second network to which the second terminal has connected;
a communication unit 1002 for: sending first attribute information to a server; receiving second attribute information sent by the server;
a configuration management unit 1003 configured to: reading the first attribute information from the storage unit and sending the first attribute information to the communication unit; receiving second attribute information sent by the communication unit, deleting the first attribute information, and writing the second attribute information into the storage unit;
an accessing unit 1004 configured to access at least one of the first network and the second network based on the second attribute information.
In implementation, the access unit 1004 may determine a specific network that needs to be connected when the first terminal is in a coverage area of a certain first network and/or in a coverage area of a certain second network, where the specific network may be any first network or any second network, and the access unit 1004 may read attribute information of the specific network from the second attribute information, so as to access the specific network based on the attribute information of the specific network. Therefore, the first terminal can be automatically connected to the specific network without the operations of password input and the like of the user, and the convenience of accessing the network by the user is greatly improved.
In some embodiments, the information sharing apparatus 1000 further includes a setting unit 1005 configured to generate a first group in response to an operation directed to creating the first group; the first group comprises an identifier of the first terminal and an identifier of the second terminal; sending the first group to the communication unit 1002; the communication unit 1002 is further configured to send the first group to the server.
In implementation, the storage unit 1001 and the configuration management unit 1003 may communicate with each other through the setting unit 1005.
In some implementations, the storage unit 1001 is used to store configuration files. The configuration management unit 1003, the communication unit 1002, and the setting unit 1005 may be a first configuration management module 5021, a first wireless communication module 5023, and a first setting module 5022 in the embodiment corresponding to fig. 5, respectively.
In some embodiments, the communication unit 1002 is further configured to receive third attribute information sent by the server; the third attribute information includes: the second attribute information and attribute information of at least one third network to which the third terminal has connected; transmitting the third attribute information to the configuration management unit 1003; the configuration management unit 1003 is further configured to replace the second attribute information in the storage unit 1001 with third attribute information.
In some embodiments, the communication unit 1002 is further configured to send the first request information to the server; the first request information indicates to invite a third terminal to join the first group to generate a second group; receiving a second group sent by the server; the second group includes: an identifier of the first terminal, an identifier of the second terminal and an identifier of the third terminal; a setting unit 1005 is further configured to replace the first group in the first terminal with the second group.
In some embodiments, the communication unit 1002 is further configured to receive second request information sent by the server; the second request information indicates that the third terminal requests to join the first group to generate a second group; sending response information representing that the third terminal is allowed to join the first group to the server; receiving a second group sent by the server; the second group includes: an identifier of the first terminal, an identifier of the second terminal and an identifier of the third terminal; a setting unit 1005 is further configured to replace the first group in the first terminal with the second group.
In some embodiments, the configuration management unit 1003 is further configured to, when the first terminal accesses a target network outside the first network and the second network, add attribute information of the target network to the second attribute information to obtain fourth attribute information; the communication unit 1002 is further configured to send the fourth attribute information to the server.
In some embodiments, the configuration management unit 1003 is further configured to modify the attribute information of the designated network in response to an attribute modification operation for the designated network in the at least one first network and the at least one second network, to obtain fifth attribute information; the communication unit 1002 is further configured to send fifth attribute information to the server.
In some embodiments, the setting unit 1005 is further configured to delete the identifier of the second terminal or the identifier of the third terminal in the second group to obtain a third group in response to an operation of removing the identifier of the second terminal or the identifier of the third terminal in the second group; the communication unit 1002 is further configured to send the third group to the server.
Fig. 11 is a schematic view of a composition structure of another information sharing device according to an embodiment of the present disclosure, and as shown in fig. 11, an information sharing device 1100 may be a server or may be disposed inside the server, and the information sharing device 1100 includes:
a communication unit 1101 configured to receive first attribute information transmitted by a first terminal; the first attribute information includes attribute information of at least one first network to which the first terminal has connected;
a merging unit 1102, configured to merge the first attribute information and the obtained attribute information of at least one second network to which the second terminal is connected, so as to obtain second attribute information;
the communication unit 1101 is further configured to send the second attribute information to the first terminal.
In some embodiments, the communication unit 1101 is further configured to receive a first group sent by a first terminal; the first group comprises an identifier of the first terminal and an identifier of the second terminal;
the merging unit 1102 is further configured to, if it is determined that the identifier of the first terminal that sends the first attribute information and the identifier of the second terminal that sends the attribute information of the at least one second network are both in the first group, merge the first attribute information and the attribute information of the at least one second network to obtain the second attribute information. .
In some embodiments, the merging unit 1102 is further configured to merge the second attribute information and the obtained attribute information of at least one third network connected to the third terminal to obtain third attribute information;
the communication unit 1101 is further configured to send third attribute information to the first terminal.
In some embodiments, the communication unit 1101 is further configured to receive first request information sent by the first terminal; the first request information indicates to invite the third terminal to join the first group; the information sharing apparatus 1100 further includes a group management unit 1103, configured to add an identifier of a third terminal to the first group to obtain a second group; the communication unit 1101 is further configured to send the second group to the first terminal.
In some embodiments, the communication unit 1101 is further configured to receive second request information sent by a third terminal; the second request information indicates that the third terminal requests to join the first group; sending second request information to the first terminal; receiving response information which is sent by the first terminal and indicates that the third terminal is allowed to join the first group; the group management unit 1103 is further configured to add, based on the response information, the identifier of the third terminal to the first group to obtain a second group; the communication unit 1101 is further configured to send the second group to the first terminal.
The embodiment of the present application may further provide another information sharing device, where the information sharing device may be a first terminal or included in the first terminal, and the information sharing device includes: a communication unit and an access unit; wherein:
a communication unit, configured to send first attribute information to a second terminal by a first terminal; the first attribute information includes attribute information of at least one first network to which the first terminal has connected; receiving second attribute information sent by a second terminal; the second attribute information includes: attribute information of at least one first network and attribute information of at least one second network to which the second terminal is connected;
and the access unit is used for accessing at least one of the first network and the second network based on the second attribute information.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that, in the embodiment of the present application, if the information sharing method is implemented in the form of a software functional module and is sold or used as an independent product, the information sharing method may also be stored in a computer storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a first terminal or server to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
An information sharing device provided in an embodiment of the present application, a hardware entity of the information sharing device includes: a processor and a memory, wherein the memory stores a computer program operable on the processor, and the processor implements the steps of the method of any of the above embodiments when executing the program.
The Memory stores a computer program executable on the processor, and is configured to store instructions and applications executable by the processor, and may also cache data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by each module in the information sharing device and the processor, and may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
The processor executes the program to realize the steps of any one of the information sharing methods. The processor typically controls the overall operation of the information sharing device.
Embodiments of the present application provide a computer storage medium, where one or more programs are stored, and the one or more programs may be executed by one or more processors to implement the steps of the information sharing method according to any of the above embodiments.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
The Processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic device implementing the above-mentioned processor function may be other electronic devices, and the embodiments of the present application are not particularly limited.
The computer storage medium/Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM), and the like; but may also be various terminals such as mobile phones, computers, tablet devices, personal digital assistants, etc., that include one or any combination of the above-mentioned memories.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment of the present application" or "a previous embodiment" or "some implementations" or "some embodiments" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "an embodiment of the present application" or "the preceding embodiments" or "some embodiments" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. In a case where no specific description is given, the first terminal or the server performs any step in the embodiments of the present application, and the processor of the first terminal or the server may perform the step. Unless otherwise specified, the embodiment of the present application does not limit the sequence in which the first terminal or the server performs the following steps. In addition, the data may be processed in the same way or in different ways in different embodiments. It should be further noted that, in the embodiment of the present application, any step may be executed independently by the first terminal or the server, that is, when the first terminal or the server executes any step in the above embodiments, the first terminal or the server may not depend on the execution of other steps.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments. Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict. The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated units described above in this application may be stored in a computer storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the related art may be embodied in the form of a software product stored in a storage medium, and including several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be noted that, in the embodiments related to the present application, all the steps may be executed or some of the steps may be executed, as long as a complete technical solution can be formed.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. An information sharing method is applied to a first terminal, and comprises the following steps:
sending first attribute information to a server; the first attribute information includes attribute information of at least one first network to which the first terminal has connected;
receiving second attribute information sent by the server; the second attribute information includes: the first attribute information and attribute information of at least one second network connected with the second terminal;
accessing at least one of the first network and the second network based on the second attribute information.
2. The method of claim 1, wherein before sending the first attribute information to the server, the method further comprises:
generating a first group in response to an operation directed to creating the first group; the first group comprises an identifier of the first terminal and an identifier of the second terminal;
sending the first group to the server.
3. The method of claim 1, wherein after accessing at least one of the first network and the second network based on the second attribute information, the method further comprises:
receiving third attribute information sent by the server; the third attribute information includes: the second attribute information and attribute information of at least one third network to which the third terminal has connected;
accessing at least one of the first network, the second network, and the third network based on the third attribute information.
4. The method of claim 2, wherein after the sending the first group to the server, the method further comprises:
sending first request information to the server; the first request information indicates to invite a third terminal to join the first group to generate a second group;
receiving the second group sent by the server; the second group includes: the identity of the first terminal, the identity of the second terminal and the identity of the third terminal;
replacing the first group in the first terminal with the second group.
5. The method of claim 2, wherein after the sending the first group to the server, the method further comprises:
receiving second request information sent by the server; the second request information indicates that a third terminal requests to join the first group to generate a second group;
sending response information representing that the third terminal is allowed to join the first group to the server;
receiving the second group sent by the server; the second group includes: the identity of the first terminal, the identity of the second terminal and the identity of the third terminal;
replacing the first group in the first terminal with the second group.
6. The method of any of claims 1-5, wherein after accessing at least one of the first network and the second network based on the second attribute information, the method further comprises:
adding attribute information of the target network to the second attribute information to obtain fourth attribute information under the condition that the first terminal accesses the first network and the target network outside the second network;
and sending the fourth attribute information to the server.
7. The method of any of claims 1-5, wherein after accessing at least one of the first network and the second network based on the second attribute information, the method further comprises:
responding to attribute modification operation aiming at a designated network in the at least one first network and the at least one second network, and modifying the attribute information of the designated network to obtain fifth attribute information;
and sending the fifth attribute information to the server.
8. The method according to claim 4 or 5, wherein after replacing the first group in the first terminal with the second group, the method further comprises:
responding to an operation aiming at removing the identifier of the second terminal or the identifier of the third terminal in the second group, and deleting the identifier of the second terminal or the identifier of the third terminal in the second group to obtain a third group;
sending the third group to the server.
9. An information sharing method is applied to a server and comprises the following steps:
receiving first attribute information sent by a first terminal; the first attribute information includes attribute information of at least one first network to which the first terminal has connected;
combining the first attribute information and the acquired attribute information of at least one second network connected with the second terminal to obtain second attribute information;
and sending the second attribute information to the first terminal.
10. The method according to claim 9, wherein before receiving the first attribute information sent by the first terminal, the method further comprises:
receiving a first group sent by the first terminal; the first group comprises an identifier of the first terminal and an identifier of the second terminal;
the merging the first attribute information and the acquired attribute information of at least one second network connected to the second terminal to obtain second attribute information includes:
and combining the first attribute information and the attribute information of the at least one second network to obtain the second attribute information under the condition that the identifier of the first terminal sending the first attribute information and the identifier of the second terminal sending the attribute information of the at least one second network are both determined to be in the first group.
11. The method of claim 9, wherein after the sending the second attribute information to the first terminal, the method further comprises:
combining the second attribute information and the acquired attribute information of at least one third network connected with the third terminal to obtain third attribute information;
and sending the third attribute information to the first terminal.
12. The method of claim 10, wherein after the sending the second attribute information to the first terminal, the method further comprises:
receiving first request information sent by the first terminal; the first request information indicates to invite a third terminal to join the first group;
adding the identifier of the third terminal into the first group to obtain a second group;
and sending the second group to the first terminal.
13. The method of claim 10, further comprising:
receiving second request information sent by a third terminal; the second request information indicates that the third terminal requests to join the first group;
sending the second request information to the first terminal;
receiving response information which is sent by the first terminal and indicates that the third terminal is allowed to join the first group;
adding the identifier of the third terminal into the first group based on the response information to obtain a second group;
and sending the second group to the first terminal.
14. An information sharing apparatus, comprising:
a storage unit to: storing the first attribute information or storing the second attribute information; the first attribute information comprises attribute information of at least one first network connected with the first terminal; the second attribute information includes the first attribute information and attribute information of at least one second network to which the second terminal is connected;
a communication unit to: sending the first attribute information to the server; receiving second attribute information sent by the server;
a configuration management unit to: reading the first attribute information from the storage unit, and sending the first attribute information to the communication unit; receiving second attribute information sent by the communication unit, deleting the first attribute information, and writing the second attribute information into the storage unit;
an access unit to: accessing at least one of the first network and the second network based on the second attribute information.
15. An information sharing apparatus, comprising:
the communication unit is used for receiving first attribute information sent by a first terminal; the first attribute information includes attribute information of at least one first network to which the first terminal has connected;
a merging unit, configured to merge the first attribute information and the obtained attribute information of at least one second network connected to the second terminal to obtain second attribute information;
the communication unit is further configured to send the second attribute information to the first terminal.
CN202110308687.5A 2021-03-23 2021-03-23 Information sharing method and device Pending CN113068190A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110308687.5A CN113068190A (en) 2021-03-23 2021-03-23 Information sharing method and device
PCT/CN2022/077668 WO2022199313A1 (en) 2021-03-23 2022-02-24 Information sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110308687.5A CN113068190A (en) 2021-03-23 2021-03-23 Information sharing method and device

Publications (1)

Publication Number Publication Date
CN113068190A true CN113068190A (en) 2021-07-02

Family

ID=76563096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110308687.5A Pending CN113068190A (en) 2021-03-23 2021-03-23 Information sharing method and device

Country Status (2)

Country Link
CN (1) CN113068190A (en)
WO (1) WO2022199313A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022199313A1 (en) * 2021-03-23 2022-09-29 Oppo广东移动通信有限公司 Information sharing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104159255A (en) * 2014-08-11 2014-11-19 小米科技有限责任公司 Method of sharing network among terminals and device
CN104488199A (en) * 2014-03-17 2015-04-01 华为终端有限公司 Method of synchronizing contents between terminals and terminals
US20160286585A1 (en) * 2015-03-27 2016-09-29 Kee Hyun Choi Network system and network connecting method
CN109803249A (en) * 2019-02-25 2019-05-24 努比亚技术有限公司 A kind of WIFI network sharing method, terminal and computer readable storage medium
CN110072268A (en) * 2019-04-18 2019-07-30 连尚(新昌)网络科技有限公司 Method, equipment and the computer storage medium that wifi hotspot is shared

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970732B (en) * 2012-11-26 2015-06-10 中兴通讯股份有限公司 Method, system and equipment for wireless local area network (WLAN) sharing authentication
CN104519020B (en) * 2013-09-29 2017-10-13 阿里巴巴集团控股有限公司 Manage method, server and the system of wireless network login password sharing function
US9336378B2 (en) * 2014-03-31 2016-05-10 Google Inc. Credential sharing
CN105636174A (en) * 2016-03-03 2016-06-01 青岛海信电器股份有限公司 Wi-Fi access method and system, server and terminal
CN113068190A (en) * 2021-03-23 2021-07-02 Oppo广东移动通信有限公司 Information sharing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104488199A (en) * 2014-03-17 2015-04-01 华为终端有限公司 Method of synchronizing contents between terminals and terminals
CN104159255A (en) * 2014-08-11 2014-11-19 小米科技有限责任公司 Method of sharing network among terminals and device
US20160286585A1 (en) * 2015-03-27 2016-09-29 Kee Hyun Choi Network system and network connecting method
CN109803249A (en) * 2019-02-25 2019-05-24 努比亚技术有限公司 A kind of WIFI network sharing method, terminal and computer readable storage medium
CN110072268A (en) * 2019-04-18 2019-07-30 连尚(新昌)网络科技有限公司 Method, equipment and the computer storage medium that wifi hotspot is shared

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022199313A1 (en) * 2021-03-23 2022-09-29 Oppo广东移动通信有限公司 Information sharing method and device

Also Published As

Publication number Publication date
WO2022199313A1 (en) 2022-09-29

Similar Documents

Publication Publication Date Title
KR101687521B1 (en) Multi-screen interaction method, devices, and system
CN110377440B (en) Information processing method and device
CN113556715B (en) Device connection method and apparatus, computer readable medium and electronic device
KR102614445B1 (en) Method, system, and non-transitory computer readable record medium for controlling device based internet of things using messenger bot
KR20170031552A (en) Electronic device and method for authenticating electronic device in near field
EP3308496B1 (en) System, apparatus and method for secure coordination of a rendezvous point for distributed devices using entropy multiplexing
CN111787540A (en) Method and device for accessing Internet of things, electronic equipment and readable storage medium
CN115669022A (en) Method for providing ranging-based service by electronic equipment and electronic equipment
CN115801299B (en) Meta universe identity authentication method, device, equipment and storage medium
CN114760112B (en) Wireless local area network-oriented intelligent home equipment networking method, system, equipment and storage medium
CN113068190A (en) Information sharing method and device
CN104243153A (en) Method for spotting equipment user, and user equipment
CN115174109B (en) Enterprise employee identity authentication method, device, equipment and storage medium
US11516627B2 (en) SMS in a telecommunication network
CN113452513B (en) Key distribution method, device and system
CN103873682B (en) A kind of information processing method and electronic equipment
CN106453574A (en) Mobile terminal broadcast hotspot file sharing method and terminal
CN115174107B (en) Authentication method, device, equipment and storage medium for virtual user
CN115225627A (en) File transmission method and device, computer equipment and storage medium
CN113079502B (en) Information sharing method, device, terminal and storage medium
WO2019028781A1 (en) Data transmission method and apparatus
CN114978702B (en) Account management method, platform and system, computing device and readable storage medium
CN116743357B (en) Key storage method and device
US12149571B2 (en) Method, apparatus, device and medium for processing group information
CN113242552B (en) Multi-audio-frequency equipment connection method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210702

RJ01 Rejection of invention patent application after publication