CN109981660B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN109981660B
CN109981660B CN201910252293.5A CN201910252293A CN109981660B CN 109981660 B CN109981660 B CN 109981660B CN 201910252293 A CN201910252293 A CN 201910252293A CN 109981660 B CN109981660 B CN 109981660B
Authority
CN
China
Prior art keywords
electronic device
information
state
network
electronic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910252293.5A
Other languages
Chinese (zh)
Other versions
CN109981660A (en
Inventor
高长磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910252293.5A priority Critical patent/CN109981660B/en
Publication of CN109981660A publication Critical patent/CN109981660A/en
Application granted granted Critical
Publication of CN109981660B publication Critical patent/CN109981660B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Abstract

The embodiment of the application discloses an information processing method, which comprises the following steps: the first electronic equipment obtains first information of third electronic equipment in a first state from the second electronic equipment; wherein the first electronic device cannot obtain the first information from the third electronic device in the first state; and enabling the third electronic equipment in the first state to have access right to the network where the first electronic equipment is located based on the first information. The embodiment of the application also discloses the electronic equipment.

Description

Information processing method and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to an information processing method and an electronic device.
Background
The network system generally includes a terminal device and a network device, and the network device needs to obtain key information of the terminal device to determine whether to support the terminal device. The network device cannot receive and/or send signals at any time according to the change of the working state of the network device, so that other devices cannot obtain the key information of the network device at any time.
Disclosure of Invention
The embodiment of the application provides an information processing method and electronic equipment.
The technical scheme of the application is realized as follows:
an information processing method comprising:
the first electronic equipment obtains first information of third electronic equipment in a first state from the second electronic equipment; wherein the first electronic device cannot obtain the first information from the third electronic device in the first state;
and enabling the third electronic equipment in the first state to have access right to the network where the first electronic equipment is located based on the first information.
In the above scheme, the method further comprises:
if the third electronic device is in a second state, the first electronic device can obtain the first information from the third electronic device in the second state, so that the third electronic device in the second state has the access right of the network where the first electronic device is located;
wherein the power consumption of the third electronic device in the first state is less than the power consumption of the third electronic device in the second state.
In the foregoing solution, before the obtaining the first information of the third electronic device in the first state from the second electronic device, the method further includes:
sending a first request message to the third electronic device; and if the third electronic equipment is in the second state, receiving the first information returned by the third electronic equipment based on the first request message.
In the above scheme, the method further comprises:
if first part information of first information of third electronic equipment in a first state is obtained from the second electronic equipment, sending a second request message to the third electronic equipment at a first time interval;
the second request message is used for obtaining second part information of the first information of the third electronic equipment in a second state.
In the above scheme, the method further comprises:
receiving the second part of information returned by the third electronic equipment based on the second request message;
and sending the second part of information and the incidence relation with the third electronic equipment to the second electronic equipment.
In the foregoing solution, before sending the second request message to the first electronic device at the first time interval, the method includes:
determining the first time interval according to the current load information of the first electronic equipment; the load information includes: capability information and/or bandwidth information.
In the foregoing solution, the obtaining first information of a third electronic device in a first state from a second electronic device includes:
obtaining, from a second electronic device, third partial information of first information of a third electronic device in a first state, where the third partial information is information received by the second electronic device and sent by a fourth electronic device;
obtaining fourth part information of the first information of a third electronic device in a first state from a second electronic device, wherein the fourth part information is information received by the second electronic device and sent by a fifth electronic device;
wherein the user identifier of the network in which the fourth electronic device is located and the user identifier of the network in which the fifth electronic device is located are different from the user identifier of the network in which the first electronic device is located.
In the foregoing solution, the enabling, based on the first information, the third electronic device in the first state to have the access right of the network where the first electronic device is located includes:
and enabling the third electronic equipment in the first state to have the access right of the network where the first electronic equipment is located based on the third part of information and the fourth part of information.
In the foregoing solution, the enabling, based on the first information, the third electronic device in the first state to have the access right of the network where the first electronic device is located includes:
if it is determined that the device node information of the first information meets the node information required by the first electronic device, and/or if it is determined that the node capability information of the first information meets the node capability information required by the first electronic device, and/or if it is determined that the device attribute information of the first information meets the device attribute information required by the first electronic device, enabling the third electronic device in the first state to have the access right of the network where the first electronic device is located.
An embodiment of the present application further provides an electronic device, including:
an acquisition unit configured to acquire first information of a third electronic device in a first state from a second electronic device; wherein the first electronic device cannot obtain the first information from the third electronic device in the first state;
and the processing unit is used for enabling the third electronic equipment in the first state to have the access right of the network where the first electronic equipment is located based on the first information.
In the above scheme, if the third electronic device is in the second state, the first electronic device may obtain the first information from the third electronic device in the second state, so that the third electronic device in the second state has an access right to a network where the first electronic device is located;
wherein the power consumption of the third electronic device in the first state is less than the power consumption of the third electronic device in the second state.
In the above solution, the electronic device further includes: a transmitting unit and a receiving unit; wherein the content of the first and second substances,
the sending unit is used for sending a first request message to the third electronic equipment;
the receiving unit is configured to receive the first information returned by the third electronic device based on the first request message if the third electronic device is in the second state.
In the foregoing solution, the sending unit is further configured to send a second request message to a third electronic device at a first time interval if a first part of information of first information of the third electronic device in a first state is obtained from the second electronic device;
the second request message is used for obtaining second part information of the first information of the third electronic equipment in a second state.
In the foregoing solution, the receiving unit is further configured to receive the second part of information returned by the third electronic device based on the second request message;
the sending unit is further configured to send the second part of information and the association relationship with the third electronic device to the second electronic device.
In the above solution, the electronic device further includes: a determination unit; wherein the content of the first and second substances,
the determining unit is configured to determine the first time interval according to current load information of the first electronic device; the load information includes: capability information and/or bandwidth information.
In the foregoing solution, the obtaining unit is configured to obtain, from a second electronic device, third partial information of first information of a third electronic device in a first state, where the third partial information is information received by the second electronic device and sent by a fourth electronic device;
the acquiring unit is further configured to acquire, from the second electronic device, fourth part information of the first information of the third electronic device in the first state, where the fourth part information is information sent by a fifth electronic device and received by the second electronic device;
wherein the user identifier of the network in which the fourth electronic device is located and the user identifier of the network in which the fifth electronic device is located are different from the user identifier of the network in which the first electronic device is located.
In the foregoing solution, the processing unit is configured to enable the third electronic device in the first state to have an access right of a network where the first electronic device is located, based on the third part of information and the fourth part of information.
In the foregoing solution, the processing unit is further configured to enable the third electronic device in the first state to have an access right to a network where the first electronic device is located if it is determined that the device node information of the first information meets the node information required by the first electronic device, and/or if it is determined that the node capability information of the first information meets the node capability information required by the first electronic device, and/or if it is determined that the device attribute information of the first information meets the device attribute information required by the first electronic device.
The information processing method provided in the embodiment of the present application enables the first electronic device to obtain the first information of the third electronic device in the first state from other electronic devices when the first electronic device cannot obtain the first information from the third electronic device in the first state, so that the third electronic device in the first state also has an access right to a network where the first electronic device is located, and thus, on one hand, the problem that the third electronic device cannot obtain the access right all the time because the first electronic device cannot obtain the first information of the third electronic device in the first state is solved; on the other hand, the first information can be acquired from the second electronic device, and the first information does not need to be acquired until the third electronic device is converted from the first state to the second state, so that the efficiency of acquiring the access right by the third electronic device is improved.
Drawings
Fig. 1 is a schematic flowchart of an information processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another information processing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another information processing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
As shown in fig. 1, an embodiment of the present application provides an information processing method, including:
step 101, a first electronic device obtains first information of a third electronic device in a first state from a second electronic device; wherein the first electronic device cannot obtain the first information from the third electronic device in the first state;
step 103, based on the first information, enabling the third electronic device in the first state to have an access right to a network where the first electronic device is located.
Here, the first electronic device includes: a first gateway; the second electronic device includes: a server or a second gateway; the third electronic device includes: and (4) terminal equipment. The server can be a cloud server; the terminal device may be a computer, a laptop, or other network device, etc.
Wherein the network identifications of the first gateway and the second gateway are different; or the network identifiers of the first gateway and the second gateway are different, and the extended network identifiers of the first gateway and the second gateway are the same; or the network identifications of the first gateway and the second gateway are different, and the extended network identifications of the first gateway and the second gateway are different.
If the second electronic equipment is a server, the second electronic equipment is connected with the first electronic equipment and the second gateway; the first electronic device obtains information from the second electronic device as follows: and the first electronic equipment directly obtains information from the second electronic equipment, and the information is sent to the second electronic equipment by the second gateway.
If the second electronic equipment is a second gateway, the second electronic equipment is connected with a server, and the server is connected with the first electronic equipment; the first electronic device obtains the information from the second electronic device as follows: the first electronic device indirectly obtains information from the second electronic device; specifically, the first electronic device obtains information sent by the server; the information is sent to the server by the second electronic device.
In practical application, the identifier of the third electronic device and the first information can be stored in the second electronic device in an associated manner; wherein the identifier of the third electronic device may uniquely identify the third electronic device; the first information may include all information of the first information or partial information of the first information.
Here, the first information includes: device node information, node capability information, and device attribute information; the equipment node information represents the number of nodes and the names of the nodes included by the equipment; the node capability information characterizes capabilities possessed by nodes of the device; for example, the node is a temperature sensor node, the temperature sensor having the capability of measuring temperature; for another example, the node is a humidity sensor node, and the humidity sensor node has the capability of measuring humidity; the device attribute information characterizes attributes of the device, such as model, memory capacity size, and/or disk capacity size, among others.
Here, the first state may be: an off state, a sleep state, or an airplane mode, etc. The second state in the subsequent description may be: an active state, or a power-on state, etc. Here, power consumption of the third electronic device in the first state is smaller than power consumption of the third electronic device in the second state.
Here, the access right refers to a right to use a network resource of a network in which the first electronic device is located. For example, the right to communicate with other terminal devices of the network in which the first electronic device is located, or the right to acquire and use information resources of the other terminal devices, and so on. The network resource of the network in which the first electronic device is located includes the resource of the first electronic device. E.g. bandwidth resources and/or routing resources of the first electronic device, etc.
In the embodiment of the application, the first electronic device can obtain the first information of the third electronic device from the second electronic device, and the first information is obtained without inquiring from the third electronic device by sending a request message and the like by the first electronic device, so that the problem that the first electronic device cannot obtain the first information from the third electronic device in a first state such as dormancy and the like is solved, and the third electronic device can have access right to a network where the first electronic device is located; in addition, the first information can be acquired from the second electronic device, and the first information does not need to be acquired until the third electronic device is converted from the first state to the second state, so that the efficiency of enabling the third electronic device to acquire the access right to the network where the first electronic device is located is greatly improved.
In the embodiment of the application, the first electronic device obtains the first information of the third electronic device from the second electronic device, and operation is also simplified to a certain extent compared with the case that the first electronic device needs to obtain the first information by sending a request message to the third electronic device for multiple times.
In some embodiments, the method further comprises: if the third electronic device is in a second state, the first electronic device can obtain the first information from the third electronic device in the second state, so that the third electronic device in the second state has the access right of the network where the first electronic device is located;
wherein the power consumption of the third electronic device in the first state is less than the power consumption of the third electronic device in the second state.
Here, the first state includes a sleep state, and the second state includes an active state. It is understood that, at the first time, the third electronic device is in a dormant state; at a second moment, the third electronic device is awakened through an awakening mechanism, and the third electronic device is in an activated state; at this time, the first electronic device can obtain first information from the third electronic device in an activated state; the first information is used for enabling the third electronic equipment in the second state to have the access right of the network where the first electronic equipment is located.
As shown in fig. 2, in some embodiments, before the step 101, the method further includes:
step 100, sending a first request message to the third electronic device;
and step 102, if the third electronic device is in the second state, receiving the first information returned by the third electronic device based on the first request message.
In practical application, before obtaining first information of a third electronic device in a first state from a second electronic device, a first request message may be sent to the third electronic device, and if the third electronic device is in the second state, the first electronic device may receive the first information returned by the third electronic device based on the first request message, so that in this embodiment of the present application, the first request message may be sent first, and the first information may be directly obtained from the third electronic device; and if the third electronic equipment is in the first state and cannot directly acquire the first information from the third electronic equipment, acquiring the first information from the second electronic equipment. Furthermore, the embodiment of the application can also improve the intellectualization of the first electronic device.
In some embodiments, the first request message comprises a plurality of request messages; wherein the plurality of request messages respectively request to inquire partial information in the first information of the third electronic equipment; the plurality of request messages includes: a request message of a first priority, a request message of a second priority and a request message of a third priority; wherein, the priority order from high to low is: a first priority, a second priority, and a third priority. Specifically, the first electronic device sends a request message of a first priority to the third electronic device, receives device node information returned by the third electronic device based on the request message of the first priority, and stores the device node information; the first electronic device sends a request message of a second priority to the third electronic device, receives and stores node capability information returned by the third electronic device based on the request message of the second priority; and the first electronic equipment sends a request message of a third priority to the third electronic equipment, receives and stores the equipment attribute information returned by the third electronic equipment based on the request message of the third priority.
In this embodiment of the application, the first information of the third electronic device may be queried according to a priority order. In the subsequent operation, all parts of the first information can be sent to the second electronic device for corresponding storage; when other subsequent networks have terminal equipment of the same type as the third electronic equipment and need to be identified, the partial information of the first information which is inquired does not need to be inquired again, and only the partial information of the first information which is not inquired by the third electronic equipment needs to be inquired. Therefore, the operation of acquiring the first information can be simplified, the acquired first information of the third electronic device can be shared by different gateways and other devices, and a task of the operation of inquiring the first information of the third electronic device is shared by a plurality of gateways; meanwhile, the probability that each gateway cannot support the third electronic device can be correspondingly reduced, namely, the probability that each gateway cannot enable the terminal device to have the access right of the network where the gateway is located is reduced.
In some embodiments, as shown in fig. 3, the method further comprises:
step 201, if first part information of first information of a third electronic device in a first state is obtained from the second electronic device, sending a second request message to the third electronic device at a first time interval;
the second request message is used for obtaining second part information of the first information of the third electronic equipment in a second state.
Here, the first information includes: a first part of information and a second part of information; wherein the first partial information and the second partial information are different. If the first part of information comprises: the device node information, the second part of information includes: node capability information and device attribute information; if the first part of information comprises: the device node information and the node capability information, the second part of information includes: device attribute information. If the first part of information comprises: if a part of the node capability information and the device node information include: another part of the node capability information and device attribute information; and so on.
In some embodiments, the first information comprises: a first part of information and a second part of information; wherein the first partial information and the second partial information have the same partial information. For example, the first part of information includes: device node information and node capability information; the second part of information comprises: node capability information and device attribute information.
In some embodiments, before sending the second request message to the first electronic device at the first time interval, the method further includes:
determining the first time interval according to the current load information of the first electronic equipment; the load information includes: capability information and/or bandwidth information.
Here, the load information represents how much the load amount of the device is; the capability information comprises: CPU utilization, memory utilization, and/or disk IO utilization, among others; the bandwidth information includes: access traffic information, resource access traffic information, and/or routing traffic information.
Here, if the current load amount of the first electronic device is larger, the determined first time interval is about long; the determined first time interval is shorter if the current load amount of the first electronic device is smaller.
For example, if the current CPU utilization of the first electronic device is greater than a first threshold, determining that the first time interval is a first value; if the current CPU utilization rate of the first electronic equipment is smaller than a second threshold value, determining the first time interval as a second value; wherein the first threshold is greater than the second threshold; the first value is greater than the second value.
For another example, if the current memory utilization rate of the first electronic device is greater than a third threshold, determining that the first time interval is a third value; if the current memory utilization rate of the first electronic equipment is greater than a fourth threshold, determining that the first time interval is a fourth value; wherein the third threshold is greater than the fourth threshold; the third value is greater than the fourth value.
Here, the first value, the second value, the third value, and the fourth value may each be several tens of seconds, several minutes, ten and several minutes, or several hours, and so on.
Of course, the load amount of the first electronic device may be considered in combination with various types of capability information and/or various types of bandwidth information, and if the current load amount is larger, the determined first time interval is larger, and if the current load amount is smaller, the determined time interval is smaller; therefore, on the premise of not affecting other operations of the first electronic device, the second request information can be periodically sent to acquire the second part of information of the third electronic device, so that the third electronic device in the first state or the third electronic device converted from the first state to the second state can have an opportunity to acquire the access right to the network where the first electronic device is located.
In other embodiments, if the load generation amount of the first electronic device is relatively stable, a preset time interval may also be used as the first time interval; the preset time interval is determined based on detecting a trigger operation of a user; the preset time interval may be a few minutes or a dozen minutes, etc.
In practical applications, if the second electronic device only stores a first part of the first information of the third electronic device, based on the first part of the information, the third electronic device in the first state cannot have an access right to a network where the first electronic device is located; if the third electronic device leaves the network where the first electronic device is located, the third electronic device cannot always obtain the access right of the network where the first electronic device is located. If the first electronic device does not enable the third electronic device to leave the network where the first electronic device is located, the first electronic device may not send a first instruction to the third electronic device, where the first instruction is used to enable the third electronic device to disconnect the network where the first electronic device is located; the first electronic device sends a second request message to the third electronic device at a first time interval, so that the second part of information can be returned based on the second request message if the third electronic device is in a second state subsequently; in this way, in this embodiment of the present application, multiple attempts to request a message may be performed to enable the first electronic device to facilitate obtaining the second partial information of the third electronic device in the second state, and to facilitate the first electronic device to obtain the complete first information, so as to facilitate the third electronic device to have an access right to a network where the first electronic device is located.
In some application scenarios, if the subsequent third electronic device is awakened by the awakening mechanism, and the third electronic device is converted from the first state to the second state, the first electronic device may receive the second part of information returned by the third electronic device based on the second request message.
For example, in some embodiments, the method further comprises:
step 203, receiving the second part of information returned by the third electronic device based on the second request message;
step 205, sending the second part of information and the association relation with the third electronic device to the second electronic device.
In the embodiment of the application, after the first electronic device receives the second part of information returned by the third electronic device based on the second request message, the first electronic device may enable the third electronic device in the first state to have an access right to a network where the first electronic device is located based on the first part of information and the second part of information.
The embodiment of the application can also ensure that the third electronic device obtains the complete first information, and further ensure that the third electronic device has the access right of the network where the first electronic device is located.
In some embodiments, after the step 205, the second part of the first information and the corresponding relationship between the second part of the first information and the third electronic device may also be sent to the second electronic device, so that the second part of the information queried by the first electronic device may also be sent to the second electronic device, so as to subsequently store the second part of the information and the third electronic device in the second electronic device in a corresponding manner. In addition, the first information inquired by the gateways of different networks can be stored in the cloud, so that other gateways can share the first information inquired by a certain gateway.
In some embodiments, the obtaining, from the second electronic device, the first information of the third electronic device in the first state includes:
obtaining, from a second electronic device, third partial information of first information of a third electronic device in a first state, where the third partial information is information received by the second electronic device and sent by a fourth electronic device;
obtaining fourth part information of the first information of a third electronic device in a first state from a second electronic device, wherein the fourth part information is information received by the second electronic device and sent by a fifth electronic device;
wherein the user identifier of the network in which the fourth electronic device is located and the user identifier of the network in which the fifth electronic device is located are different from the user identifier of the network in which the first electronic device is located.
Here, the first information includes third partial information and fourth partial information; the third partial information is different from the fourth partial information.
Here, the fourth electronic device may be a fourth gateway, and the fifth electronic device may be a fifth gateway; the user identifier of the network where the fourth electronic device is located is different from the user identifier of the network where the first electronic device is located, and the fourth gateway and the first gateway are represented as gateways which do not belong to the same user; and the user identifier of the network where the fifth electronic device is located is different from the user identifier of the network where the first electronic device is located, and the fifth gateway and the first gateway are not represented as gateways of the same user.
In the embodiment of the application, one part of the first information is acquired by the second electronic device from the fourth gateway, and the other part of the first information is acquired by the second electronic device from the fifth gateway, so that on one hand, the sharing of information of different gateways can be realized, and part of the first information of the third electronic device searched in one gateway can be used by other gateways, thereby greatly improving the probability that the third electronic device successfully acquires the access right to the network where each gateway is located; on the other hand, the query of one gateway to the first information of the third electronic device can be reduced, and the query to the first information of the third electronic device can be shared in each gateway to obtain the complete information of the first information.
In this embodiment of the application, the user identifier of the network where the fourth electronic device is located is different from the user identifier of the network where the fifth electronic device is located, that is, the fourth gateway and the fifth gateway do not belong to the network under the same user as the network where the first gateway is located; therefore, the process that the terminal equipment of one user acquires the access right of the network where the gateway is located is accelerated when the terminal equipment of other users acquires the access right of the network where other gateways are located, and the operation that the terminal equipment of other users acquires the access right of the network where other gateways are located is simplified.
In some embodiments, the user identifier of the network in which the fourth electronic device is located is different from the user identifier of the network in which the fifth electronic device is located. In still other embodiments, the user identifier of the network in which the fourth electronic device is located and the user identifier of the network in which the fifth electronic device is located are the same as the user identifier of the network in which the first electronic device is located. In still other embodiments, one of the user identifier of the network in which the fourth electronic device is located and the user identifier of the network in which the fifth electronic device is located is different from the user identifier of the network in which the first electronic device is located, and the other is the same as the user identifier of the network in which the first electronic device is located.
In some embodiments, the enabling, based on the first information, the third electronic device in the first state to have the access right of the network where the first electronic device is located includes:
and enabling the third electronic equipment in the first state to have the access right of the network where the first electronic equipment is located based on the third part of information and the fourth part of information.
In this embodiment of the application, the first electronic device may be based on the third part of information and the fourth part of information, that is, based on complete first information obtained from different electronic devices, so that the third electronic device in the first state has an access right to a network where the first electronic device is located.
In some embodiments, the enabling, based on the first information, the third electronic device in the first state to have the access right of the network where the first electronic device is located includes:
if it is determined that the device node information of the first information meets the node information required by the first electronic device, and/or if it is determined that the node capability information of the first information meets the node capability information required by the first electronic device, and/or if it is determined that the device attribute information of the first information meets the device attribute information required by the first electronic device, enabling the third electronic device in the first state to have the access right of the network where the first electronic device is located.
In this embodiment of the application, according to information specifically included in the first information, it may be determined whether the first electronic device supports the third electronic device from aspects of the number of nodes, names of the nodes, capabilities corresponding to the nodes, and attributes corresponding to the devices required by the first electronic device, respectively, so that whether the third electronic device has an access right to a network where the first electronic device is located.
Here, it should be noted that: the following description of the electronic device items is similar to the above description of the information processing method, and the description of the beneficial effects of the same method is omitted for brevity. For technical details not disclosed in the embodiments of the electronic device of the present application, please refer to the description of the embodiments of the information processing method of the present application.
As shown in fig. 4, an embodiment of the present application further provides an electronic device, including: an acquisition unit 31, a processing unit 32; wherein the content of the first and second substances,
the acquiring unit 31 is configured to acquire first information of a third electronic device in a first state from a second electronic device; wherein the first electronic device cannot obtain the first information from the third electronic device in the first state;
the processing unit 32 is configured to enable the third electronic device in the first state to have an access right of a network where the first electronic device is located, based on the first information.
In some embodiments, if the third electronic device is in a second state, the first electronic device may obtain the first information from the third electronic device in the second state, so that the third electronic device in the second state has an access right to a network where the first electronic device is located;
wherein the power consumption of the third electronic device in the first state is less than the power consumption of the third electronic device in the second state.
In some embodiments, the electronic device further comprises: a transmitting unit 33 and a receiving unit 34; wherein the content of the first and second substances,
the sending unit is used for sending a first request message to the third electronic equipment;
the receiving unit is configured to receive the first information returned by the third electronic device based on the first request message if the third electronic device is in the second state.
In some embodiments, the sending unit 33 is further configured to send a second request message to a third electronic device at a first time interval if a first part of information of first information of the third electronic device in the first state is obtained from the second electronic device;
the second request message is used for obtaining second part information of the first information of the third electronic equipment in a second state.
In some embodiments, the receiving unit 34 is further configured to receive the second part of information returned by the third electronic device based on the second request message;
the sending unit 33 is further configured to send the second part of information and the association relationship with the third electronic device to the second electronic device.
In some embodiments, the electronic device further comprises: a determination unit 35; wherein the content of the first and second substances,
the determining unit 35 is configured to determine the first time interval according to the current load information of the first electronic device; the load information includes: capability information and/or bandwidth information.
In some embodiments, the obtaining unit 31 is configured to obtain, from a second electronic device, a third part of information of first information of a third electronic device in a first state, where the third part of information is information received by the second electronic device and sent by a fourth electronic device;
the obtaining unit 31 is further configured to obtain, from the second electronic device, fourth part information of the first information of the third electronic device in the first state, where the fourth part information is information sent by a fifth electronic device and received by the second electronic device;
wherein the user identifier of the network in which the fourth electronic device is located and the user identifier of the network in which the fifth electronic device is located are different from the user identifier of the network in which the first electronic device is located.
In some embodiments, the processing unit 32 is configured to enable the third electronic device in the first state to have an access right of a network where the first electronic device is located, based on the third partial information and the fourth partial information.
In some embodiments, the processing unit 33 is further configured to enable the third electronic device in the first state to have the access right of the network where the first electronic device is located if it is determined that the device node information of the first information satisfies the node information required by the first electronic device, and/or if it is determined that the node capability information of the first information satisfies the node capability information required by the first electronic device, and/or if it is determined that the device attribute information of the first information satisfies the device attribute information required by the first electronic device.
Here, it should be noted that: the following description of the storage medium and apparatus embodiments, similar to the description of the method embodiments above, has 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 present application provides a computer storage medium, which stores computer instructions, and when the instructions are executed by a processor, the instructions implement the steps of an information processing method applied to a terminal device or a network device, for example, one or more of the methods shown in fig. 1, fig. 2, or fig. 3.
An embodiment of the present application further provides an electronic device, as shown in fig. 5, the electronic device includes: a processor 41, a communication interface 42, and a memory 43; wherein the content of the first and second substances,
the processor 41 generally controls the overall operation of the terminal device or the network device.
The communication interface 42 may enable a terminal device or a network device to communicate with other terminals or servers through a network.
The Memory 43 is configured to store instructions and applications executable by the processor 41, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by the processor 41 and modules in the terminal, and may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
It will be appreciated that the processor 41 described herein may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 41. The storage medium is located in a memory 43, and the processor 41 reads the information in the memory 43 and performs the steps of the above method in combination with the hardware thereof.
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 above-mentioned separate components may or may not be physically separate, and the components shown 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.
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 readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media capable of storing program codes, such as a removable Memory device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, and an optical disk.
Alternatively, the integrated unit may be stored in a readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially implemented in the form of a software product, which is stored in a storage medium and includes several instructions to make a terminal 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 RAM, a magnetic or optical disk, or various other media that can store program code.
It should be noted that: the technical solutions described in the embodiments of the present application can be arbitrarily combined without conflict.
The above description is only for the specific 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 the 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 (9)

1. An information processing method comprising:
the first electronic equipment obtains first information of third electronic equipment in a first state from the second electronic equipment; wherein the first electronic device cannot obtain the first information from the third electronic device in the first state;
enabling the third electronic equipment in the first state to have access authority to a network where the first electronic equipment is located on the basis of the first information;
if the third electronic device is in a second state, the first electronic device can obtain the first information from the third electronic device in the second state, so that the third electronic device in the second state has an access right of a network where the first electronic device is located; wherein the power consumption of the third electronic device in the first state is less than the power consumption of the third electronic device in the second state.
2. The method of claim 1, before obtaining the first information of the third electronic device in the first state from the second electronic device, further comprising:
sending a first request message to the third electronic device;
and if the third electronic equipment is in the second state, receiving the first information returned by the third electronic equipment based on the first request message.
3. The method of claim 1, further comprising:
if first part information of first information of third electronic equipment in a first state is obtained from the second electronic equipment, sending a second request message to the third electronic equipment at a first time interval;
the second request message is used for obtaining second part information of the first information of the third electronic equipment in a second state.
4. The method of claim 3, further comprising:
receiving the second part of information returned by the third electronic equipment based on the second request message;
and sending the second part of information and the incidence relation with the third electronic equipment to the second electronic equipment.
5. The method of claim 3, prior to sending the second request message to the third electronic device at the first time interval, comprising:
determining the first time interval according to the current load information of the first electronic equipment; the load information includes: capability information and/or bandwidth information.
6. The method of claim 1, the obtaining first information of a third electronic device in a first state from a second electronic device, comprising:
obtaining, from a second electronic device, third partial information of first information of a third electronic device in a first state, where the third partial information is information received by the second electronic device and sent by a fourth electronic device;
obtaining fourth part information of the first information of a third electronic device in a first state from a second electronic device, wherein the fourth part information is information received by the second electronic device and sent by a fifth electronic device;
wherein the user identifier of the network in which the fourth electronic device is located and the user identifier of the network in which the fifth electronic device is located are different from the user identifier of the network in which the first electronic device is located.
7. The method of claim 6, wherein the enabling the third electronic device in the first state to have access to a network in which the first electronic device is located based on the first information comprises:
and enabling the third electronic equipment in the first state to have the access right of the network where the first electronic equipment is located based on the third part of information and the fourth part of information.
8. The method of claim 1, wherein the enabling the third electronic device in the first state to have access to a network in which the first electronic device is located based on the first information comprises:
if it is determined that the device node information of the first information meets the node information required by the first electronic device, and/or if it is determined that the node capability information of the first information meets the node capability information required by the first electronic device, and/or if it is determined that the device attribute information of the first information meets the device attribute information required by the first electronic device, enabling the third electronic device in the first state to have the access right of the network where the first electronic device is located.
9. A first electronic device, comprising:
an acquisition unit configured to acquire first information of a third electronic device in a first state from a second electronic device; wherein the first electronic device cannot obtain the first information from the third electronic device in the first state;
the processing unit is used for enabling the third electronic equipment in the first state to have the access right of the network where the first electronic equipment is located based on the first information;
if the third electronic device is in a second state, the first electronic device can obtain the first information from the third electronic device in the second state, so that the third electronic device in the second state has an access right of a network where the first electronic device is located; wherein the power consumption of the third electronic device in the first state is less than the power consumption of the third electronic device in the second state.
CN201910252293.5A 2019-03-29 2019-03-29 Information processing method and electronic equipment Active CN109981660B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910252293.5A CN109981660B (en) 2019-03-29 2019-03-29 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910252293.5A CN109981660B (en) 2019-03-29 2019-03-29 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN109981660A CN109981660A (en) 2019-07-05
CN109981660B true CN109981660B (en) 2021-04-13

Family

ID=67081729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910252293.5A Active CN109981660B (en) 2019-03-29 2019-03-29 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN109981660B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008129765A1 (en) * 2007-04-17 2008-10-30 Panasonic Corporation Monitoring unit control system
CN104079565A (en) * 2014-06-13 2014-10-01 小米科技有限责任公司 Authorization method and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4559750B2 (en) * 2003-09-03 2010-10-13 日本電信電話株式会社 Content distribution system
US20140198698A1 (en) * 2011-06-15 2014-07-17 Sony Ericsson Mobile Communications Ab System and Method for Filtering Broadcast Messages Received Over a Wireless Local Area Network
CN103002526B (en) * 2011-09-13 2015-06-03 华为技术有限公司 Cell handover control methods, cell measurement method, equipment and system
CN103812870B (en) * 2014-02-21 2017-06-27 联想(北京)有限公司 The method and electronic equipment of information processing
CN105610764A (en) * 2014-11-10 2016-05-25 联想(北京)有限公司 Information processing method and electronic equipment
CN105162728B (en) * 2015-07-31 2018-07-31 小米科技有限责任公司 Method for network access, equipment and system
CN105873116B (en) * 2016-03-28 2020-07-24 联想(北京)有限公司 Communication method and device and first electronic equipment
CN107659932B (en) * 2016-07-25 2022-05-20 中兴通讯股份有限公司 Equipment access method and device
CN107426828B (en) * 2017-07-03 2021-01-08 Oppo广东移动通信有限公司 Data transmission method and device and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008129765A1 (en) * 2007-04-17 2008-10-30 Panasonic Corporation Monitoring unit control system
CN104079565A (en) * 2014-06-13 2014-10-01 小米科技有限责任公司 Authorization method and device

Also Published As

Publication number Publication date
CN109981660A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN106790676B (en) Method and device for realizing subscription notification
US8310969B2 (en) Mobile device and power saving method thereof
US10609633B2 (en) Method for triggering registrar protocol interaction, access point, and station
CN107872396B (en) Communication method with timeout control, processing device, terminal device and server
CN109982355B (en) Method for saving and restoring network path, apparatus, terminal and storage medium thereof
CN113285884B (en) Flow control method and system
CN111541555A (en) Group chat optimization method and related product
CN108259348B (en) Message transmission method and device
CN114500633B (en) Data forwarding method, related device, program product and data transmission system
US20160006801A1 (en) Data sharing system
CN112491951B (en) Request processing method, server and storage medium in peer-to-peer network
CN109981660B (en) Information processing method and electronic equipment
US20170353818A1 (en) Method for deleting notification resource, and common service entity
CN113422739B (en) Data transmission method, sending end and data transmission system
CN111193805B (en) Resource discovery method and device
CN114374705A (en) Service cluster and message pushing method
CN107332679B (en) Centerless information synchronization method and device
CN104137515A (en) Method and device for making available a content, stored on a server in energy standby mode
CN114793234B (en) Message processing method, device, equipment and storage medium
US20180270190A1 (en) Method and device for creating application announcement resource
CN110300035B (en) Method, system, device and server for judging load state of storage system
CN116156609A (en) Data communication method, device, electronic equipment and storage medium
CN116155921A (en) Data synchronization method and related device
CN116501580A (en) Storage state detection method and device, storage medium and electronic device
CN117061514A (en) Server resource acquisition method, intelligent network card and cloud data center system

Legal Events

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