Information group independent construction method and system based on wireless ad hoc network
The phrase information is mapped to the group ID through the hash algorithm to realize the independent formation and joining of wireless ad hoc network members. This solves the problem of the complexity of group establishment in wireless ad hoc network technology in disaster areas and improves communication efficiency and independence. sex.
Patent Information
- Application Number
- CN202410838918.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-08
AI Technical Summary
In disaster areas, existing wireless ad hoc network technology is difficult to quickly establish and join information groups without available data traffic services, especially when ad hoc network members are in different locations or the network connection is unstable, requiring human contact. Coordination and cooperation among people make the establishment process complex and time-consuming.
A mapping method based on the hash algorithm is used to convert the phrase information agreed by the user into a group ID. Members of the ad hoc network can independently collect and save group information, and broadcast and receive group ID information in the wireless network through encryption and decryption mechanisms. , to realize the function of forming and joining groups independently.
Ad hoc network members can independently form or join information groups at any time and place without relying on the assistance of other members. This simplifies the group establishment process, reduces dependence on network connections and power status, and improves communication in disaster areas. efficiency.
Smart Images

Figure CN118748784A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of ad hoc networks, and in particular to a method and system for independently constructing an information group based on a wireless ad hoc network. Background Art
[0002] A wireless ad hoc network (MANET) is a distributed network automatically formed by ad hoc terminals. In this network, each ad hoc member (i.e., each ad hoc terminal) can act as a repeater between the router and the terminal, and data is forwarded through multiple nodes to reach the destination. Therefore, wireless ad hoc networks are often used in situations where communication needs to be achieved without a central control node, such as in the wild, emergency rescue, and disaster response.
[0003] During natural disasters, base stations and other equipment may experience power outages, malfunctions, etc., and mobile phone networks may be interrupted. In some other remote places with no people, mobile phones often have no signal. People can rely on mobile ad hoc network terminals as a communication channel between people.
[0004] Usually, in order to facilitate more effective communication between people, members of an ad hoc network generally establish a group. In the group, when one member sends a message, other online members in the group can see it. However, in disaster areas, communication signals may be intermittent, so it is still a challenge for existing formation schemes to complete the formation of a small temporary, useful, and targeted group, and there will be varying degrees of difficulty. Some members may not be able to join the group because not all ad hoc network terminals of members are ready at the same time, and intermittent network connections, signal loss, etc. may further complicate the problem.
[0005] For example, three rescue workers Alice, Bob, and Cathy have ad hoc network terminals. They want to plan to help others in the disaster area. However, to establish a new information group, the existing technical solutions cannot complete the formation process without available data traffic services. For example, when the following conditions and situations occur, the group cannot be formed: (1) Alice's AD network terminal is not ready yet. The AD network terminal has no power and is charging somewhere else. When forming a group, Alice's AD network terminal is not next to Alice, so Alice cannot join the group immediately.
[0006] (2) Currently, Cathy and Bob are working together. Bob uses the existing grouping scheme to form a public group and invites a new group ID. However, only Cathy can join at this time, and Alice cannot join because she is not nearby. In order to join, Alice must bring her phone nearby, first establish a connection with Bob or Cathy, and then, with the cooperation of Bob or Cathy, have them send a group invitation to Alice.
[0007] This is where the problem with the existing technology lies. When encountering situations and requirements similar to the above, the team must regroup to confirm the network connection, which requires human coordination: after confirming the connection, the team can perform user operations, such as sending and accepting group invitations, which also requires human coordination, usually completed at the same place and at the same time. If the group is large, more people are required to cooperate, which is a difficult task in some cases.
[0008] When forming a group, each party has different steps to take, or retry, depending on their situation. Due to unreliable connections in the area, the communication signal will be intermittent, and the process may even take several hours as they have to wait for a good connection. For example, Figure 1 In the process, the connection between A and B is unreliable. In each step of joining and retrying, the help of other members is needed to manually restart the group invitation. For example, if three members form a group, the final solution that can be completely solved with the existing technology is that all three members make time, meet at the same place and time, connect with each other, and cooperate with each other to complete the construction of the group. Summary of the invention
[0009] The technical problem to be solved by the embodiments of the present invention is to provide a method and system for independently constructing an information group based on a wireless ad hoc network, so that each networking member is not restricted by time and space and can independently construct or join a group.
[0010] In order to solve the above technical problems, an embodiment of the present invention proposes a method for independently constructing an information group based on a wireless ad hoc network, comprising: Collection step: The ad hoc network members collect and save the group information created by the user and the phrase information corresponding to the group creation; Creation step: creating an information group according to the group information, and mapping the phrase information to a corresponding character string according to a preset mapping algorithm, and using the obtained character string as the group ID of the information group; Sending step: collect the information sent by the user in the information group, encrypt the information by group ID, and broadcast it to other members of the self-organizing network through the self-organizing network after encryption; Receiving step: Receive group information sent by other members of the self-organizing network in real time through the self-organizing network, decrypt the group information through the group ID, if the decryption is successful, it will be displayed in the information group, if it fails, it will be discarded.
[0011] Furthermore, the preset mapping algorithm is a hash algorithm.
[0012] Furthermore, the phrase information is a phrase or a combination of phrases agreed upon by users of the ad hoc network members for creating a group.
[0013] Furthermore, the creation step also includes a modification step: Modify the group information corresponding to the information group according to the user's setting instructions.
[0014] Accordingly, an embodiment of the present invention further provides a system for independently constructing an information group based on a wireless ad hoc network, comprising: Collection module: members of the ad hoc network collect and save group information created by users and the corresponding phrase information used to create the group; Creation module: creates an information group according to the group information, and maps the phrase information to a corresponding string according to a preset mapping algorithm, and uses the obtained string as the group ID of the information group; Sending module: collects information sent by users in the information group, encrypts the information by group ID, and broadcasts the encrypted information to other members of the ad hoc network through the ad hoc network; Receiving module: Receives group information sent by other members of the ad hoc network in real time through the ad hoc network, decrypts the group information through the group ID, and if the decryption is successful, it is displayed in the information group; if it fails, it is discarded.
[0015] Furthermore, the preset mapping algorithm is a hash algorithm.
[0016] Furthermore, the phrase information is a phrase or a combination of phrases agreed upon by users of the ad hoc network members for creating a group.
[0017] Furthermore, it also includes a modification module: Modify the group information corresponding to the information group according to the user's setting instructions.
[0018] Furthermore, the acquisition module is a touch screen module for human-computer interaction provided by the ad hoc network terminal, or a mobile phone connected to the ad hoc network terminal via Bluetooth / WIFI.
[0019] The beneficial effects of the present invention are as follows: the present invention can facilitate members of a self-organizing network to independently form or join an information group. Self-organizing network member users only need to agree in advance on short phrase information for creating a group without going through a server. Each self-organizing network member user can independently form or join an information group at any time or any place. As long as the self-organizing network member is connected to the self-organizing network, the information in the information group can be sent and received in real time through the information group. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 4 is a schematic diagram of a group of rescuers Alice, Bob and Cathy according to an embodiment of the present invention.
[0021] Figure 2 It is a flowchart of a method for independently constructing an information group based on a wireless ad hoc network according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] It should be noted that, in the absence of conflict, the embodiments in the present application and the features in the embodiments may be combined with each other. The present invention is further described in detail below in conjunction with the drawings and specific embodiments.
[0023] In the embodiments of the present invention, if there are directional indications (such as up, down, left, right, front, back, etc.), they are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0024] In addition, in the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features.
[0025] Please refer to Figure 2 The method for independently constructing an information group based on a wireless ad hoc network of the embodiment of the present invention includes a collection step, a creation step, a sending step, and a receiving step. In specific implementation, the method for independently constructing an information group based on a wireless ad hoc network of the present invention is applied to an ad hoc network terminal or a mobile phone wirelessly connected to the ad hoc network terminal (via WIFI or Bluetooth connection).
[0026] Collection step: Ad hoc network members collect and save group information created by users and phrase information corresponding to the group creation. Phrase information is a phrase or phrase combination agreed upon by users of the ad hoc network members for creating a group. For example, an App application in an ad hoc network terminal or a mobile phone provides a user interface that allows the input of text strings, which will be used as phrase information input for the present invention. There is no limit to the length of the phrase information; it can range from a single word to the same phrase as a whole, all of which are considered valid inputs. For example, "The fire burns in the coldwater", the phrase can have no reasonable meaning in humanities, or it can be messy characters, and both can be valid phrase information of the present invention. The characters of the phrase information are the "DNA" of this newly established information group.
[0027] Creation step: Create and save an information group according to the group information, and map the phrase information to a corresponding character string according to a preset mapping algorithm, and use the obtained character string as the group ID of the information group.
[0028] In order to convert the input characters into a group ID, the present invention preferably uses a hash algorithm called a hash function as a mapping method. In practical applications, secure hash algorithms such as MD5, SHA-1 or SHA-256 are commonly used to achieve this purpose. The number of input bytes to these functions can be M (the lower limit of M is 1, and the upper limit of M is no practical limit), and the function can generate a large number of digital outputs, usually N bytes in size. For example, a standard encryption library usually generates a 32-byte output from its hash function. However, this 32-byte integer may be large for our use. In this case, it is compressed by mapping it to a more manageable integer size through any mathematically simpler hash function equation, and the output byte amount is R (generally reasonable: the lower limit of R is 1, and the upper limit of R is 8). Then, the resulting integer will be used as a unique identifier or group ID of the group being created, so the group ID byte amount is also R.
[0029] The hash function of the standard encryption library used in the present invention, such as MD5, SHA-1 or SHA-256, has the characteristic that it is impossible for ordinary people to reversely deduce the unique phrase information of the group from the output group ID.
[0030] As an implementation mode, the creation step further includes a modification step: Modify the group information corresponding to the information group according to the user's setting instructions.
[0031] In specific implementation, the App application in the self-organizing network terminal or in the mobile phone provides optional functions, such as a button that allows the user to start the calculation sequence by pressing a specified button. Generally, the calculation program is set to start automatically. The user interface of the App application in the self-organizing network terminal or in the mobile phone sets a "Save" button. The user can save the group and group ID by pressing the "Save" button. After the group is saved, the user can manage or modify it through the application interface. This includes adding or removing members, editing group details, and setting group notification preferences. The interface is designed to be intuitive to ensure that users have a seamless experience when navigating the group management process and to facilitate the receipt of user setting instructions.
[0032] Sending step: collect the information sent by the user in the information group, encrypt the information by group ID, and broadcast it to other members of the self-organizing network through the self-organizing network after encryption.
[0033] Receiving step: receiving group information sent by other members of the ad hoc network in real time through the ad hoc network, decrypting the group information through the group ID, and displaying it in the information group if the decryption is successful, and discarding it if it fails. The encryption and decryption of the present invention can adopt the existing scheme.
[0034] The present invention establishes a group through the same phrase, so that each networking member can act independently, complete independently, and can independently join the same group without the help of other people.
[0035] The advantages of the present invention are: 1. The main advantage of establishing a group through the method of the present invention is that it is self-sufficient, simple and fast.
[0036] 2. The phrase information of the present invention can be in the form of words, such as "Sonder"; phrases, such as "One can find beauty in all small things"; or messy characters, such as "A2#!", all of which are reasonable inputs.
[0037] 3. Each member user of the network predetermines a unique phrase before establishing a group, and can then operate independently without any restrictions related to the radio function status or operating parameters.
[0038] 4. Each member of the ad hoc network can independently establish a group and complete it independently without any restrictions on the functional status of the walkie-talkie.
[0039] 5. Each member of the ad hoc network can independently establish a group without the assistance of others.
[0040] The information group independent construction system based on wireless ad hoc network of the present invention comprises: Collection module: members of the ad hoc network collect and save group information created by users and the corresponding phrase information used to create the group; Creation module: creates an information group according to the group information, and maps the phrase information to a corresponding string according to a preset mapping algorithm, and uses the obtained string as the group ID of the information group; Sending module: collects information sent by users in the information group, encrypts the information by group ID, and broadcasts the encrypted information to other members of the ad hoc network through the ad hoc network; Receiving module: Receives group information sent by other members of the ad hoc network in real time through the ad hoc network, decrypts the group information through the group ID, and if the decryption is successful, it is displayed in the information group; if it fails, it is discarded.
[0041] As an implementation method, the preset mapping algorithm is a hash algorithm.
[0042] As an implementation manner, the phrase information is a phrase or a phrase combination agreed upon by users of the ad hoc network members for creating a group.
[0043] As an implementation method, the information group independent construction system based on the wireless ad hoc network further includes a modification module: Modify the group information corresponding to the information group according to the user's setting instructions.
[0044] As an implementation mode, the acquisition module is a touch screen module for human-computer interaction provided by the ad hoc network terminal, or a mobile phone connected to the ad hoc network terminal via Bluetooth / WIFI.
[0045] The present invention enables each networking member to act and complete independently, and to independently join the same group (regardless of the network connection status of the ad hoc network at that time), which can greatly reduce the necessary conditions for establishing existing information groups.
[0046] For example Figure 1 As shown, three rescuers Alice, Bob and Cathy have ad hoc network terminals. They plan to help others in the disaster area. However, they want to establish a message group, but there is no data traffic service available on their mobile phones. Under such conditions and circumstances, they can use the technical solution of the present invention to establish a group: The three-person team agreed on a unique phrase message in advance while planning to help others in the disaster area. For example, the matching phrase message was set to "Sky is the limit."
[0047] Situation: Alice's ad hoc network terminal is not ready yet, has no power supply, and is charging in area A.
[0048] Situation: Cathy and Bob are currently working together. They both joined the group earlier using this pre-determined phrase. Alice is currently unable to join due to battery issues on the ad hoc network terminal.
[0049] Alice then takes back the ad hoc network terminal and can use the pre-determined phrase to create and join the group without any help from Cathy or Bob.
[0050] The present invention enables each member of a group to independently establish and join the same group without the help of other members in the group. Moreover, when the number of members of the group self-organizing network is relatively large, the complexity of establishing the group is no longer a problem because joining the group is an independent action.
[0051] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for independently constructing an information group based on a wireless ad hoc network, characterized in that: include: Collection step: The ad hoc network members collect and save the group information created by the user and the phrase information corresponding to the group creation; Creation step: creating an information group according to the group information, and mapping the phrase information to a corresponding character string according to a preset mapping algorithm, and using the obtained character string as the group ID of the information group; Sending step: collect the information sent by the user in the information group, encrypt the information by group ID, and broadcast it to other members of the self-organizing network through the self-organizing network after encryption; Receiving step: Receive group information sent by other members of the self-organizing network in real time through the self-organizing network, decrypt the group information through the group ID, if the decryption is successful, it will be displayed in the information group, if it fails, it will be discarded.
2. The method for independently constructing an information group based on a wireless ad hoc network according to claim 1, characterized in that: The default mapping algorithm is the hash algorithm.
3. The method for independently constructing an information group based on a wireless ad hoc network according to claim 1, characterized in that: The phrase information is a phrase or a combination of phrases agreed upon by users of the ad hoc network members for creating a group.
4. The method for independently constructing an information group based on a wireless ad hoc network according to claim 1, characterized in that: The creation step also includes the modification step: Modify the group information corresponding to the information group according to the user's setting instructions.
5. A system for independently constructing information groups based on wireless ad hoc networks, characterized in that: include: Collection module: members of the ad hoc network collect and save group information created by users and the corresponding phrase information used to create the group; Creation module: creates an information group according to the group information, and maps the phrase information to a corresponding string according to a preset mapping algorithm, and uses the obtained string as the group ID of the information group; Sending module: collects information sent by users in the information group, encrypts the information by group ID, and broadcasts the encrypted information to other members of the ad hoc network through the ad hoc network; Receiving module: Receives group information sent by other members of the ad hoc network in real time through the ad hoc network, decrypts the group information through the group ID, and if the decryption is successful, it is displayed in the information group; if it fails, it is discarded.
6. The information group independent construction system based on wireless ad hoc network as claimed in claim 5, characterized in that: The default mapping algorithm is the hash algorithm.
7. The information group independent construction system based on wireless ad hoc network as claimed in claim 5, characterized in that: The phrase information is a phrase or a combination of phrases agreed upon by users of the ad hoc network members for creating a group.
8. The information group independent construction system based on wireless ad hoc network as claimed in claim 5, characterized in that: Also includes modification modules: Modify the group information corresponding to the information group according to the user's setting instructions.
9. The information group independent construction system based on wireless ad hoc network as claimed in claim 5, characterized in that: The acquisition module is a touch screen module for human-computer interaction that comes with the ad hoc network terminal, or a mobile phone that is connected to the ad hoc network terminal via Bluetooth / WIFI.
