CN114760676A - Networking method and device of intelligent terminal, electronic equipment and storage medium - Google Patents

Networking method and device of intelligent terminal, electronic equipment and storage medium Download PDF

Info

Publication number
CN114760676A
CN114760676A CN202210664081.XA CN202210664081A CN114760676A CN 114760676 A CN114760676 A CN 114760676A CN 202210664081 A CN202210664081 A CN 202210664081A CN 114760676 A CN114760676 A CN 114760676A
Authority
CN
China
Prior art keywords
target
intelligent
network
intelligent terminal
self
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
CN202210664081.XA
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.)
Beijing Jiaotong University
Original Assignee
Beijing Jiaotong University
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 Beijing Jiaotong University filed Critical Beijing Jiaotong University
Priority to CN202210664081.XA priority Critical patent/CN114760676A/en
Publication of CN114760676A publication Critical patent/CN114760676A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Abstract

The application discloses a networking method and device of an intelligent terminal, electronic equipment and a storage medium. The method comprises the following steps: receiving a wireless network access request, wherein the wireless network access request is used for acquiring at least one self-organizing intelligent fusion network which can be accessed by a target intelligent terminal; responding to the wireless network access request, and scanning a channel corresponding to the target intelligent terminal to obtain a channel scanning result; determining a target self-organizing intelligent fusion network meeting access conditions based on a channel scanning result; and controlling the target intelligent terminal to access the target self-organizing intelligent fusion network, and updating the online list stored in the target intelligent terminal so that the target intelligent terminal can perform instant communication with other clients in the target self-organizing intelligent fusion network based on the online list. According to the method and the system, after the target self-organization intelligent network is automatically accessed, the online list can be maintained, so that the target intelligent terminal can carry out instant messaging with other intelligent terminals in the self-organization intelligent network based on the terminal information stored in the online list, and the payment and the flow consumption are not needed during communication.

Description

Networking method and device of intelligent terminal, electronic equipment and storage medium
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a networking method and apparatus for an intelligent terminal, an electronic device, and a storage medium.
Background
At present, most of the access of the network of the wireless networking technology needs to be realized through a fixed infrastructure or a special network, and the cost is greatly increased due to the expensive infrastructure. In the prior art, access to most wireless networks requires at least one network access point AP in the network. In addition, it is also possible to use a common node as the corresponding wireless access point AP, which, however, would make the selected node the center of the network, and the active state of the node determines the operational state of the network. Therefore, networking efficiency is low, and instant messaging between intelligent terminals cannot be realized.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the present application provides a networking method and apparatus for an intelligent terminal, an electronic device, and a storage medium.
According to an aspect of an embodiment of the present application, a networking method for an intelligent terminal is provided, which is applied to a target intelligent terminal, and includes:
Receiving a wireless network access request, wherein the wireless network access request is used for acquiring at least one self-organizing intelligent fusion network which can be accessed by a target intelligent terminal;
responding to the wireless network access request, and scanning a channel corresponding to the target intelligent terminal to obtain a channel scanning result;
determining a target self-organizing intelligent fusion network meeting access conditions based on the channel scanning result;
and controlling the target intelligent terminal to access the target self-organizing intelligent fusion network, and updating an online list stored in the target intelligent terminal so that the target intelligent terminal can perform instant messaging with other clients in the target self-organizing intelligent fusion network based on the online list, wherein the online list is used for storing terminal information corresponding to the intelligent terminal which has currently accessed the target self-organizing intelligent fusion network.
Further, the determining a target ad hoc intelligent fusion network meeting the access condition based on the channel scanning result comprises:
under the condition that the channel scanning result is used for indicating that at least one self-organization intelligent fusion network exists currently, acquiring a first signal coverage range and signal strength of the self-organization intelligent fusion network;
And determining the self-organizing intelligent fusion network with the first signal coverage and the signal strength meeting the access condition as the target self-organizing intelligent fusion network.
Further, the determining a target ad hoc intelligent fusion network meeting the access condition based on the channel scanning result comprises:
under the condition that the channel scanning result is used for indicating that the self-organizing intelligent fusion network does not exist at present, acquiring a second signal coverage range and network access information supported by the target intelligent terminal;
and establishing the target self-organizing intelligent fusion network according to the coverage area of the second signal and the network access information.
Further, after the target ad hoc intelligent network is established according to the second signal coverage and the network access information, the method further comprises:
and carrying the network access information in a target multicast packet, and multicasting the target multicast packet in the second signal coverage range, so that other intelligent terminals in the second signal coverage range receive the target multicast packet and join the target self-organizing intelligent fusion network based on the target multicast packet.
Further, the updating the online list stored in the target intelligent terminal includes:
monitoring data packets from the coverage range of the second signal in a preset time period;
analyzing the data packet to obtain data content carried by the data packet;
and updating the online list according to the data content.
Further, the updating the online list according to the data content includes:
acquiring terminal information from the data content, and adding the terminal information to the online list to complete updating of the online list;
or, the updating the online list according to the data content includes:
and acquiring terminal information and an exit identifier from the data content, and deleting the terminal information from the online list according to the exit identifier so as to finish updating the online list.
Further, the method further comprises:
acquiring a target file of a sharing operation to be executed;
determining a file type corresponding to the target file, and acquiring a target transmission mode corresponding to the file type;
and transmitting the target file to a receiver by using the target transmission mode.
According to another aspect of the embodiments of the present application, there is also provided a networking device for an intelligent terminal, including:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a wireless network access request, and the wireless network access request is used for acquiring at least one self-organizing intelligent fusion network which can be accessed by a target intelligent terminal;
the scanning module is used for responding to the wireless network access request and scanning a channel corresponding to the target intelligent terminal to obtain a channel scanning result;
the determining module is used for determining a target self-organizing intelligent fusion network meeting the access condition based on the channel scanning result;
and the control module is used for controlling the target intelligent terminal to access the target self-organization intelligent fusion network and updating an online list stored in the target intelligent terminal so that the target intelligent terminal can perform instant messaging with other clients in the target self-organization intelligent fusion network based on the online list, wherein the online list is used for storing terminal information corresponding to the intelligent terminal which is currently accessed into the target self-organization intelligent fusion network.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that executes the above steps when the program is executed.
According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: a memory for storing a computer program; a processor for executing the steps of the method by running the program stored in the memory.
Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the steps of the above method.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: the method provided by the embodiment of the application can maintain the online list after the target self-organizing intelligent network is automatically accessed, so that the target intelligent terminal can perform instant messaging with other intelligent terminals in the self-organizing intelligent network based on the terminal information stored in the online list, and payment and flow consumption are not needed during communication.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, 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 for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a flowchart of a networking method for an intelligent terminal according to an embodiment of the present disclosure;
fig. 2 is a conceptual diagram of an ad hoc intelligent converged network provided by an embodiment of the present application;
fig. 3 is a schematic view of a scenario of an ad hoc intelligent converged network provided in an embodiment of the present application;
fig. 4 is a flowchart of a networking method for an intelligent terminal according to another embodiment of the present application;
fig. 5 is a schematic diagram of a transmission mode of an intelligent terminal according to an embodiment of the present application;
fig. 6 is a block diagram of a networking device of an intelligent terminal according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments, and the illustrative embodiments and descriptions thereof of the present application are used for explaining the present application and do not constitute a limitation to the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making creative efforts shall fall within the protection scope of the present application.
It is noted that, in this document, relational terms such as "first" and "second," and the like, are used solely to distinguish one entity or action from another similar entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiment of the application provides a networking method and device of an intelligent terminal, electronic equipment and a storage medium. The method provided by the embodiment of the invention can be applied to any required electronic equipment, for example, the electronic equipment can be electronic equipment such as a server and a terminal, and the method is not particularly limited herein, and is hereinafter simply referred to as electronic equipment for convenience in description.
According to an aspect of the embodiments of the present application, a method embodiment of a networking method of an intelligent terminal is provided. Fig. 1 is a flowchart of a networking method for an intelligent terminal according to an embodiment of the present application, where as shown in fig. 1, the method includes:
and step S11, receiving a wireless network access request, wherein the wireless network access request is used for acquiring at least one self-organizing intelligent fusion network which can be accessed by the target intelligent terminal.
The method provided by the embodiment of the application is applied to the target intelligent terminal, and the target intelligent terminal can detect whether the control operation triggered by the terminal exists or not. The control operation comprises a voice instruction input by the terminal or a virtual control of the target intelligent terminal opened by the terminal. And if the triggered control operation is detected, determining whether the control operation meets a preset condition, and if the preset condition is met, determining that the wireless network access request is received. Wherein the control operation meeting the preset conditions is as follows: the voice instruction is used for indicating to start the wireless module of the target intelligent terminal, or the started virtual control is the virtual control corresponding to the wireless module.
And step S12, responding to the wireless network access request, and scanning the channel corresponding to the target intelligent terminal to obtain a channel scanning result.
In this embodiment, the target intelligent terminal may enter the wireless scanning mode in response to the wireless network access request, and at this time, the target intelligent terminal may scan a corresponding channel to obtain a channel scanning result, where the channel scanning result includes at least one self-organizing intelligent network, or the scanning result does not include the self-organizing intelligent network. Specifically, the target intelligent terminal uses a unicast technology to send a data packet, so that channel-by-channel scanning is realized, and at least one self-organizing intelligent fusion network is obtained.
It should be noted that, as shown in fig. 2, the ad hoc intelligent network is configured to vertically associate a service layer and a network layer of the existing internet, so that the service and the network space perform collaborative movement and intelligent fusion on resources to which the service and the network space belong, which is helpful to provide various and customizable services for users on the one hand, and is also beneficial to construct a virtual private network for users to meet different requirements of the services in terms of security, reliability, extensibility, and the like. Furthermore, the self-organizing intelligent fusion network transversely decouples the service space from the network space, comprises an intelligent plane formed by the intelligent service object and the intelligent network object, and comprises an operation plane formed by the intelligent service object and the intelligent network object, so as to realize the separation of control management and function execution, and facilitate the dynamic adjustment of the service and the network according to the needs.
Specifically, the intelligent plane is used for managing, controlling and transferring a running plane service/network running object, and performing state query, decision making, instruction issuing and the like on the running plane service/network running object; the operation plane is used for receiving an instruction set issued by the service/network intelligent object, performing local initialization, and completing relevant configuration and function execution of a service/network layer, such as routing forwarding, data caching, message detection and the like. The service/network object of the self-organizing intelligent network consists of an entity object and a virtual object, wherein the entity object consists of physical resources such as a server, a router, a switch and the like, and the virtual object consists of virtual resources such as a virtual machine for running a certain service/network function, a software mirror image of the certain service/network function and the like.
The purpose of the self-organizing intelligent integration network is to intelligently integrate various resources of the whole network so as to provide personalized service supply and networking support according to needs, and the processing process is as follows:
(1) the user sends a service request to the service/network intelligence object.
(2) The service/network intelligent object carries out longitudinal analysis on the service request, namely, a service/network object identification base and a service/network object knowledge base are called, corresponding data or function services are selected according to the current system state as required, a virtual network service special path is planned as required, and an instruction set for configuring related service/network operation objects is generated.
(3) The service/network intelligent object carries out transverse mapping of network service, namely, an instruction set is issued to the related service/network operation object, and the latter carries out local initialization, so that the required data mounting or function starting and the message flow forwarding on demand are realized.
(4) After the service/network operation object is configured, the service/network operation object feeds back to the user through the service/network intelligent object so as to introduce the user message flow into the configured virtual network service dedicated path, and in addition, the service/network operation object needs to update necessary information to the service/network object knowledge base.
And step S13, determining the target self-organizing intelligent fusion network meeting the access condition based on the channel scanning result.
In this embodiment of the present application, in step S13, the determining, based on the channel scanning result, a target ad hoc intelligent network that meets the access condition includes the following steps a1-a 2:
step a1, in case that the channel scan result is used to indicate that at least one self-organizing intelligent fused network currently exists, acquiring a first signal coverage and signal strength of the self-organizing intelligent fused network.
Step A2, determining the self-organizing intelligent network with the first signal coverage and the signal intensity both meeting the access condition as the target self-organizing intelligent network.
In this embodiment of the present application, when the channel scanning result is used to indicate that at least one ad hoc intelligent fused network currently exists, the target intelligent terminal may directly obtain the first signal coverage and the signal strength of each ad hoc intelligent fused network at this time. And then determining that the first signal has the largest coverage area and the highest signal strength as the target self-organizing intelligent network meeting the access condition.
In this embodiment of the present application, in step S13, the determining, based on the channel scanning result, a target ad hoc intelligent network that meets the access condition includes the following steps B1-B2:
and step B1, under the condition that the channel scanning result is used for indicating that the self-organizing intelligent fused network does not exist currently, acquiring a second signal coverage range and network access information supported by the target intelligent terminal.
And step B2, establishing the target self-organizing intelligent network according to the coverage area of the second signal and the network access information.
In this embodiment of the present application, when the channel scanning result is used to indicate that an ad hoc intelligent fused network does not exist currently, it may be determined that the target intelligent terminal does not scan the ad hoc intelligent fused network currently. Therefore, when no accessible self-organizing intelligent network exists, the target intelligent terminal establishes the target self-organizing intelligent network according to the second signal coverage range supported by the target intelligent terminal and the network access information, wherein the network access information can be preset information such as a network name, a frequency band bandwidth and the like.
In this embodiment of the present application, after the target ad hoc intelligent network is established according to the second signal coverage and the network access information, the method further includes: and carrying the network access information in a target multicast packet, multicasting the target multicast packet in a second signal coverage range, so that other intelligent terminals in the second signal coverage range receive the target multicast packet, and adding the target multicast packet into a target self-organizing intelligent network.
It should be noted that after the target intelligent terminal establishes an ad hoc intelligent network, it will continuously send multicast packets to wait for other intelligent terminals to join, and after other intelligent terminals join, the target intelligent terminal will cancel the role of its wireless access point AP and form a peer relationship with the new terminal that joins. The target multicast packet sent by the target intelligent terminal carries terminal information of the target intelligent terminal, the terminal information can be a terminal identifier, the terminal identifier is set by using the rear 36 bits of the terminal component identifier AID, and the fixed AID obtained in the way is unique and used for representing the identity of the intelligent terminal, so that identity confirmation and identity description are carried out, and the information security is improved.
And step S14, controlling the target intelligent terminal to access the target self-organizing intelligent fusion network, and updating an online list stored in the target intelligent terminal so as to enable the target intelligent terminal to perform instant messaging with other clients in the target self-organizing intelligent fusion network based on the online list, wherein the online list is used for storing terminal information corresponding to the intelligent terminal which has currently accessed the target self-organizing intelligent fusion network.
In the embodiment of the application, the updating of the online list stored in the target intelligent terminal comprises the following steps C1-C3:
step C1, listen for the data packet from the signal coverage in the preset time period.
In this embodiment of the present application, the preset time period may be a time period for monitoring a data packet, which is set by each intelligent terminal in the unified self-organizing intelligent network, and the time periods corresponding to each intelligent terminal may be the same or different.
As an example: the target self-organizing intelligent fusion network comprises: intelligent terminal A, intelligent terminal B and intelligent terminal C, intelligent terminal A, intelligent terminal B and intelligent terminal C can use the same time cycle T that predetermines. Or the preset time period of the intelligent terminal a is T1, the preset time period of the intelligent terminal B is T2, and the preset time period of the intelligent terminal C is T3, where T1, T2, and T3 are set based on the same minimum time period according to the three intelligent terminals (T1 = T ± N, T2= T ± M, T3= T ± P, T is the minimum time period, and N, M, P is a random number), in order to ensure that when an abnormality occurs in a certain intelligent terminal, other intelligent terminals can react.
And step C2, analyzing the data packet to obtain the data content carried by the data packet.
Step C3, the online list is updated according to the data content.
In the embodiment of the present application, updating the online list pair according to the data content includes: and acquiring the terminal information from the data content, and adding the terminal information to the online list to complete the updating of the online list.
In the embodiment of the application, after the target intelligent terminal accesses the target self-organizing intelligent network, each intelligent terminal in the network can send a data packet to the target intelligent terminal, or after the target intelligent terminal, the intelligent terminal joining the network sends the data packet to the target intelligent terminal. At this time, the target intelligent terminal can analyze the received data packet to obtain data content, acquire terminal information from the data content, and add the terminal information to the online list to complete updating of the online list.
As an example, the target intelligent terminal informs the surrounding intelligent terminals that there is an ad-hoc intelligent network by sending a multicast packet, which includes the network access information and the terminal information of the target intelligent terminal. And the other intelligent terminals receive the multicast packet, respond to the information from the target intelligent terminal (namely, the terminal information of the other intelligent terminals is carried in the data packet and is sent to the target intelligent terminal), and finally the target intelligent terminal can update the online list of the other intelligent terminals according to the received information.
In the embodiment of the application, after an intelligent terminal needs to quit the network in the target self-organizing intelligent fusion network, other intelligent terminals in the network can normally send data packets to the intelligent terminal, and if the other intelligent terminals do not receive the data packets sent by the intelligent terminal within the preset time, the intelligent terminal is confirmed to quit the network, and the terminal information of the intelligent terminal is deleted from the online list.
As an example, suppose that the intelligent terminal 1 needs to exit the ad hoc intelligent network, after the intelligent terminal 1 exits the ad hoc intelligent network, the intelligent terminal 2 located in the ad hoc intelligent network will normally send a data packet to the intelligent terminal 1, and if the intelligent terminal 2 does not receive the data packet fed back by the intelligent terminal 1 within a preset time, the intelligent terminal 2 determines that the intelligent terminal 1 exits, and at this time, the terminal information of the intelligent terminal 1 is deleted from the online list.
The following provides specific examples for embodiments of the present application to specifically describe the above method:
step 100: the intelligent terminal enters a scanning mode, wireless Access Points (AP) of one channel by one channel are scanned, whether the self-organization intelligent fusion network exists or not is checked, and if the self-organization intelligent fusion network which meets the conditions exists, the step 300 is executed.
Step 200: if the self-organizing intelligent network which meets the conditions does not exist, the terminal temporarily serves as a wireless access point AP to automatically set network access information, a self-organizing intelligent network is established, the multicast packet is continuously sent, the role of the wireless access point AP is cancelled after other terminals are added, the peer relationship is formed between the terminal and the added new terminals, and meanwhile, the online list of the terminal is respectively updated.
Step 300: there may be many self-organizing intelligent network meeting the conditions, at this time, the intelligent terminal may select any one of the self-organizing intelligent network to join through wireless technologies such as Wi-Fi, and the system updates the terminal list by sending a broadcast packet to the terminals in the network and receiving response packets of other terminals at the same time.
Step 400: starting a monitoring process, setting the same time length, namely a time stamp, by terminals in the network to check whether the network has multicast information, sending the multicast information when the terminals do not receive any multicast information within the specified time length and sending a multicast packet, otherwise, not sending the multicast information to the intelligent network, and finally, automatically updating the current online terminal list by the terminals in the network.
The following examples mainly illustrate the above step 200:
Step 2001: first, to see if an ad hoc intelligent network exists, the intelligent terminal A, B, C scans the surrounding.
Step 2002: assuming that the intelligent terminal A finds that no self-organizing intelligent fusion network exists at first, the intelligent terminal A establishes a self-organizing intelligent fusion network by automatically setting network access information.
Step 2003: the intelligent terminal A informs surrounding intelligent terminals that a self-organizing intelligent integrated network exists through continuously sending a multicast packet, and the multicast packet comprises network access information SSID and a terminal identifier of the intelligent terminal A.
Step 2004: and the intelligent terminal B and the intelligent terminal C receive the multicast packet, respond to the information from the intelligent terminal A, and finally update own online lists respectively by the three intelligent terminals.
Step 2005: and the three intelligent terminals obtain the same timestamp, set a time period of T +/-random value and check whether the network has multicast information. Assuming that the time of the intelligent terminal A is up and the multicast information of the intelligent terminal B and the intelligent terminal C is not received, the intelligent terminal A sends a multicast packet, the intelligent terminal B and the intelligent terminal C respond, respectively update the list and repeat the previous action.
Step 2006: assuming that the intelligent terminal C exits from the self-organizing intelligent network, at this moment, if the intelligent terminal A does not receive the multicast packet of the intelligent terminal C within the set time period, the intelligent terminal A determines that the intelligent terminal C exits from the self-organizing intelligent network, and automatically updates the online list. However, the intelligent terminal B sends out the multicast packet after not receiving any multicast information in the corresponding time period. At this moment, because the intelligent terminal C already exits, only the intelligent terminal A responds to the intelligent terminal B, and after receiving the response of the intelligent terminal A, the intelligent terminal B confirms that the intelligent terminal C already exits from the self-organizing intelligent fused network, and the intelligent terminal B updates the online list of the intelligent terminal B.
According to the method of the embodiment of the application, the self-organizing intelligent network can be successfully established, the network has the function of updating the online terminal list in real time, the terminals which quit the intelligent network can be removed from the list, and the terminals which newly join the network are added into the list, so that the local database of the terminals can be fully maintained while the network communication is ensured.
In another embodiment of the present application, when networking is successful, a problem of network switching may occur due to mobility of the smart terminal, and when the smart terminal does not move, the smart terminal may autonomously switch a network with a strong selection signal. As shown in fig. 3, the self-organizing intelligent network NET-a includes an intelligent terminal 1, an intelligent terminal 2, and an intelligent terminal 3, and the self-organizing intelligent network NET-B includes an intelligent terminal 3, an intelligent terminal 4, and an intelligent terminal 5. When the position of the intelligent terminal 3 changes and a signal of the self-organization intelligent fusion network NET-B is detected to be stronger, the intelligent terminal 3 can automatically switch to the self-organization intelligent fusion network NET-B.
It should be noted that when the intelligent terminal is moving (position changes), the network that the intelligent terminal can scan changes, and at this time, whether the intelligent terminal selects to switch the network is prompted, for example: the prompt message may include: the selection is continued to remain in the original network or switched to the network with stronger signal.
The method provided by the embodiment of the application can maintain the online list after the target self-organizing intelligent network is automatically accessed, so that the target intelligent terminal can perform instant messaging with other intelligent terminals in the self-organizing intelligent network based on the terminal information stored in the online list, and payment and flow consumption are not needed during communication. Instant messaging can be divided into single-to-single, single-to-multiple, and many-to-many communications. The single-to-single communication means that a data packet is directly transmitted between two terminals without multi-hop, so that point-to-point communication is realized. The single-to-multiple communication means that the terminal can broadcast and send data packets in multiple hops or in a single hop. Many-to-many communication uses multicast technology to send data packets.
Fig. 4 is a flowchart of a networking method for an intelligent terminal according to an embodiment of the present application, and as shown in fig. 4, the method may include the following steps:
in step S21, a target file for the sharing operation to be performed is obtained.
Step S22, determining a file type corresponding to the target file, and obtaining a target transmission mode corresponding to the file type.
And step S23, transmitting the target file to the receiver by using the target transmission mode.
In the embodiment of the application, when instant messaging is performed, a transmitting party and a receiving party can simultaneously perform file transmission and sharing, the file transmission and sharing are divided into two types, the first file type is temporary and is based on a local database, and the second file type is permanent and needs to be performed by other servers or other databases entering a mailbox and the like.
In the embodiment of the present application, fig. 5 includes a file sharing method in an ad hoc intelligent network. When instant messaging is carried out, file transmission and sharing can be carried out simultaneously by the transmitting and receiving parties, the file transmission and sharing are divided into two types, the file transmission and sharing of the first file type are carried out in the self-organizing intelligent integrated network, any flow and extra cost of a terminal do not need to be consumed, the terminal in the self-organizing intelligent integrated network can carry out file transmission through the network, and the steps and the method adopted by the terminal are basically consistent with the common file transmission mode. After the data packet is transmitted to the local database of the terminal through the self-organizing intelligent network, the terminal can select to read on line directly, the data stream is temporarily stored in the buffer area without being stored in the local database of the terminal, and therefore precious local resources of the terminal cannot be occupied.
Meanwhile, the file transmission and sharing in the second mode are to consume the flow of the terminal, and if the terminal wants to share some files for a long time, the files in the local database can be transmitted to other databases in a mode of accessing other networks or servers. For such file transfer and sharing operations, the terminal may autonomously select according to the situation.
In addition, in the embodiment of the application, the intelligent terminal in the self-organizing intelligent network can also perform resource sharing operation, the intelligent terminal can directly communicate with other intelligent terminals in the self-organizing intelligent network through a preset terminal identifier, the terminal identifier is unique and is used for representing the identity of the intelligent terminal, identity confirmation and identity description are facilitated, the terminal can communicate with other terminals through the self-organizing intelligent network, and after obtaining permission, the terminal enters an adjacent network through ports of other terminals to perform resource sharing, so that network resources and flow are fully utilized.
Fig. 6 is a block diagram of a networking device of an intelligent terminal according to an embodiment of the present disclosure, where the networking device may be implemented as part or all of an electronic device through software, hardware, or a combination of the software and the hardware. As shown in fig. 6, the apparatus includes:
the receiving module 61 is configured to receive a wireless network access request, where the wireless network access request is used to acquire at least one self-organizing intelligent network that a target intelligent terminal can access;
the scanning module 62 is configured to scan a channel corresponding to the target intelligent terminal in response to the wireless network access request, and obtain a channel scanning result;
A determining module 63, configured to determine, based on the channel scanning result, a target ad hoc intelligent-fusion network that meets the access condition;
and the control module 64 is configured to control the target intelligent terminal to access the target self-organizing intelligent network, and update an online list stored in the target intelligent terminal, so that the target intelligent terminal performs instant messaging with other clients in the target self-organizing intelligent network based on the online list, where the online list is used to store terminal information corresponding to an intelligent terminal that has currently accessed the target self-organizing intelligent network.
In this embodiment of the present application, the determining module 63 is configured to, when the channel scanning result is used to indicate that at least one self-organizing intelligent fused network currently exists, obtain a first signal coverage and a signal strength of the self-organizing intelligent fused network; and determining the self-organizing intelligent fusion network with the first signal coverage range and the signal strength meeting the access condition as a target self-organizing intelligent fusion network.
In this embodiment of the present application, the determining module 63 is configured to, when the channel scanning result is used to indicate that the self-organizing intelligent network does not exist currently, obtain a second signal coverage range and network access information supported by the target intelligent terminal; and establishing the target self-organizing intelligent fusion network according to the coverage area of the second signal and the network access information.
In this embodiment, the networking device of the intelligent terminal includes: and the sending module is used for carrying the network access information in the target multicast packet, multicasting the target multicast packet in a second signal coverage range so as to enable other intelligent terminals in the second signal coverage range to receive the target multicast packet, and adding the target multicast packet into the target self-organizing intelligent fusion network.
In this embodiment, the control module 64 is configured to listen for a data packet from the second signal coverage range within a preset time period; analyzing the data packet to obtain data content carried by the data packet; the pair of online lists is updated according to the data content.
In this embodiment of the present application, the control module 64 is configured to obtain terminal information from data content, and add the terminal information to the online list, so as to complete updating of the online list; or, the control module 64 is configured to obtain the terminal information from the data content and the exit request, and delete the terminal information from the online list to complete updating the online list.
In this embodiment of the present application, a networking device of an intelligent terminal includes: the transmission module is used for acquiring a target file of the sharing operation to be executed; determining a file type corresponding to a target file, and acquiring a target transmission mode corresponding to the file type; and transmitting the target file to a receiver by using a target transmission mode.
An embodiment of the present application further provides an electronic device, as shown in fig. 7, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to implement the steps of the above embodiments when executing the computer program stored in the memory 1503.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
In another embodiment provided by the present application, a computer-readable storage medium is further provided, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute the networking method for an intelligent terminal in any one of the foregoing embodiments.
In another embodiment provided by the present application, there is also provided a computer program product containing instructions, which when run on a computer, causes the computer to execute the networking method of the intelligent terminal described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, optical fiber, digital terminal wire) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A networking method of an intelligent terminal is applied to a target intelligent terminal and comprises the following steps:
receiving a wireless network access request, wherein the wireless network access request is used for acquiring at least one self-organizing intelligent fusion network which can be accessed by a target intelligent terminal;
responding to the wireless network access request, and scanning a channel corresponding to the target intelligent terminal to obtain a channel scanning result;
Determining a target self-organizing intelligent fusion network meeting access conditions based on the channel scanning result;
and controlling the target intelligent terminal to access the target self-organizing intelligent fusion network, and updating an online list stored in the target intelligent terminal so that the target intelligent terminal can perform instant messaging with other clients in the target self-organizing intelligent fusion network based on the online list, wherein the online list is used for storing terminal information corresponding to the intelligent terminal which has currently accessed the target self-organizing intelligent fusion network.
2. The method of claim 1, wherein determining a target ad-hoc intelligent network satisfying an access condition based on the channel scan result comprises:
under the condition that the channel scanning result is used for indicating that at least one self-organizing intelligent fusion network currently exists, acquiring a first signal coverage range and signal strength of the self-organizing intelligent fusion network;
and determining the self-organizing intelligent fusion network with the first signal coverage and the signal strength meeting the access condition as the target self-organizing intelligent fusion network.
3. The method of claim 1, wherein determining a target ad-hoc intelligent network satisfying an access condition based on the channel scan result comprises:
Under the condition that the channel scanning result is used for indicating that the self-organizing intelligent fusion network does not exist at present, acquiring a second signal coverage range and network access information supported by the target intelligent terminal;
and establishing the target self-organizing intelligent fusion network according to the coverage area of the second signal and the network access information.
4. The method of claim 3, wherein after establishing the target ad-hoc intelligent network according to the second signal coverage and the network access information, the method further comprises:
and carrying the network access information in a target multicast packet, and multicasting the target multicast packet in the second signal coverage range, so that other intelligent terminals in the second signal coverage range receive the target multicast packet and join the target self-organizing intelligent network based on the target multicast packet.
5. The method of claim 4, wherein updating the online list stored in the target intelligent terminal comprises:
monitoring data packets from the coverage range of the second signal in a preset time period;
analyzing the data packet to obtain data content carried by the data packet;
And updating the online list according to the data content.
6. The method of claim 5, wherein the updating the online list according to the data content comprises:
acquiring terminal information from the data content, and adding the terminal information to the online list to complete updating of the online list;
or, the updating the online list according to the data content includes:
and acquiring terminal information and an exit identifier from the data content, and deleting the terminal information from the online list according to the exit identifier so as to finish updating the online list.
7. The method of claim 1, further comprising:
acquiring a target file of a sharing operation to be executed;
determining a file type corresponding to the target file, and acquiring a target transmission mode corresponding to the file type;
and transmitting the target file to a receiver by using the target transmission mode.
8. The utility model provides an intelligent terminal's networking device which characterized in that includes:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a wireless network access request, and the wireless network access request is used for acquiring at least one self-organizing intelligent fusion network which can be accessed by a target intelligent terminal;
The scanning module is used for responding to the wireless network access request and scanning a channel corresponding to the target intelligent terminal to obtain a channel scanning result;
a determining module, configured to determine, based on the channel scanning result, a target ad hoc intelligent network that meets an access condition;
and the control module is used for controlling the target intelligent terminal to access the target self-organizing intelligent fusion network and updating an online list stored in the target intelligent terminal so that the target intelligent terminal can perform instant messaging with other clients in the target self-organizing intelligent fusion network based on the online list, wherein the online list is used for storing terminal information corresponding to the intelligent terminal which is currently accessed into the target self-organizing intelligent fusion network.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program is operative to perform the method steps of any of the preceding claims 1 to 7.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus; wherein:
A memory for storing a computer program;
a processor for performing the method steps of any of claims 1 to 7 by executing a program stored on a memory.
CN202210664081.XA 2022-06-14 2022-06-14 Networking method and device of intelligent terminal, electronic equipment and storage medium Pending CN114760676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210664081.XA CN114760676A (en) 2022-06-14 2022-06-14 Networking method and device of intelligent terminal, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210664081.XA CN114760676A (en) 2022-06-14 2022-06-14 Networking method and device of intelligent terminal, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114760676A true CN114760676A (en) 2022-07-15

Family

ID=82336396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210664081.XA Pending CN114760676A (en) 2022-06-14 2022-06-14 Networking method and device of intelligent terminal, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114760676A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101048986A (en) * 2004-10-29 2007-10-03 摩托罗拉公司 Device and method for service discovery in adhoc networks using beacon signalling
US20150207578A1 (en) * 2014-01-17 2015-07-23 Apple Inc. Multichannel wireless local area network
CN114025408A (en) * 2022-01-04 2022-02-08 北京交通大学 Network establishing and accessing method and device for self-adaptive networking and computer equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101048986A (en) * 2004-10-29 2007-10-03 摩托罗拉公司 Device and method for service discovery in adhoc networks using beacon signalling
US20150207578A1 (en) * 2014-01-17 2015-07-23 Apple Inc. Multichannel wireless local area network
CN114025408A (en) * 2022-01-04 2022-02-08 北京交通大学 Network establishing and accessing method and device for self-adaptive networking and computer equipment

Similar Documents

Publication Publication Date Title
US10979536B2 (en) Contextualized information bus
JP5485398B2 (en) Method and system for service discovery management in a peer-to-peer network
US10212740B2 (en) Lighting system with cellular networking
US8060590B2 (en) Distance-aware service discovery mechanism for determining the availability of remote services in wireless personal area networks
JP5805813B2 (en) Method and system for peer-to-peer network discovery using multi-user diversity
EP2676381B1 (en) Method and apparatus for peer-to-peer service in wireless communication system
US8825767B2 (en) Scalable secure wireless interaction enabling methods, system and framework
US8331262B2 (en) Apparatus and method for setup of optimum route using tree-topology
US9495326B2 (en) Providing communication path information in a hybrid communication network
KR20070081733A (en) Apparatus for setting multipath and method thereof
US20190014531A1 (en) Network Access Permission Management Method and Related Device
JP7412593B2 (en) Communication methods, devices, electronic devices and computer programs for multicast broadcast services
CN114902634A (en) Apparatus and method for providing information of application server in mobile communication system
WO2023005128A1 (en) Node adding method, walkie talkie, system, and storage medium
US20090046601A1 (en) Topology controlled discovery for next hop determination
CN108738022B (en) Mobile management method and system for wireless communication network
CN113259864B (en) Narrow-band communication method, interphone, equipment, storage medium and ad hoc network system
CN101083597A (en) SIP based instant message of mobile self-organizing network
CN112073920A (en) Networking method of wireless grid network node and network node equipment
CN113891429A (en) Equipment network access method, device, system and storage medium
CN114025408B (en) Network establishing and accessing method and device for self-adaptive networking and computer equipment
CN107950005B (en) Service element host selection
CN114760676A (en) Networking method and device of intelligent terminal, electronic equipment and storage medium
CN102752883B (en) A kind of communication system and the means of communication based on point to point network
Seada et al. Social networks: the killer app for wireless ad hoc networks?

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: 20220715

RJ01 Rejection of invention patent application after publication