CN114363292A - Network address generation method, communication method, system, device and storage medium - Google Patents

Network address generation method, communication method, system, device and storage medium Download PDF

Info

Publication number
CN114363292A
CN114363292A CN202111491514.8A CN202111491514A CN114363292A CN 114363292 A CN114363292 A CN 114363292A CN 202111491514 A CN202111491514 A CN 202111491514A CN 114363292 A CN114363292 A CN 114363292A
Authority
CN
China
Prior art keywords
network address
communication
module
communication module
network
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
CN202111491514.8A
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.)
Shanghai Simcom Wireless Solutions Co Ltd
Original Assignee
Shanghai Simcom Wireless Solutions Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Simcom Wireless Solutions Co Ltd filed Critical Shanghai Simcom Wireless Solutions Co Ltd
Priority to CN202111491514.8A priority Critical patent/CN114363292A/en
Publication of CN114363292A publication Critical patent/CN114363292A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for generating a network address, a communication method, a system, equipment and a storage medium, wherein the generation method comprises the following steps: acquiring network prefix information of a user identification card; acquiring host identification information of the communication module, wherein the host identification information comprises an identification for identifying the communication module; generating a network address to be registered according to the network prefix information and the host identification information; and finishing network registration according to the network address to be registered, and taking the network address to be registered as the target network address of the communication module. In the invention, the network address to be registered can be generated according to the host identification information and the network prefix information of the user identification card, a fixed target network address can be obtained after network registration, and when the communication module needs to be communicated, the communication module can be positioned by utilizing the fixed target network address and the target network address, so that the communication module can be initiatively initiated to communicate.

Description

Network address generation method, communication method, system, device and storage medium
Technical Field
The present invention relates to the field of wireless communications, and in particular, to a method, a system, a device, and a storage medium for generating a network address.
Background
In the communication process, the communication module needs to be located according to a network address to communicate with the communication module, and the network address generally consists of prefix information and a host identifier. In some network protocols, such as IPV6(Internet Protocol Version 6, Version 6 of the Internet Protocol), the host id is randomly generated by the communication module of the communication module, and in such a case, the network address of the communication module cannot be known in advance, and the communication module cannot be located, so that the communication module cannot be actively communicated with.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to overcome the defect in the prior art that the network address of the communication module cannot be known in advance, and thus the communication with the communication module cannot be performed actively, and provide a method, a communication method, a system, a device and a storage medium for generating a network address, which can know the network address of the communication module in advance, and thus can communicate with the communication module actively.
The embodiment of the invention solves the technical problems through the following technical scheme:
the embodiment of the invention provides a method for generating a network address, which comprises the following steps:
acquiring network prefix information of a user identification card;
acquiring host identification information of a communication module, wherein the host identification information comprises an identification for identifying the communication module;
generating a network address to be registered according to the network prefix information and the host identification information;
and completing network registration according to the network address to be registered, and taking the network address to be registered as a target network address of the communication module.
Preferably, the acquiring the network prefix information of the subscriber identity card includes:
sending network activation information, wherein the network activation information comprises identification information of a user identification card and a request instruction of network activation;
and receiving the network prefix information of the user identification card.
Preferably, the acquiring the host identifier information of the communication module includes:
acquiring the equipment number of the communication module;
and generating host identification information according to the equipment number.
Preferably, the format of the target network address comprises an IPV6 address format.
The embodiment of the invention also provides a communication method, wherein the receiving end comprises a communication module and a user identification card, and the communication method comprises the following steps:
generating a target network address according to the network address generation method as described above;
receiving a communication request of the sending end;
and carrying out data communication with the sending end.
The embodiment of the invention also provides a communication method, which is applied to a sending end and comprises the following steps:
acquiring a target network address of the communication module, wherein the target network address is generated according to the generation method;
positioning a communication module according to the target network address;
initiating a communication request to the communication module;
and carrying out data communication with the communication module.
The embodiment of the present invention further provides a system for generating a network address, where the system for generating a network address includes: the device comprises a prefix information acquisition module, an identification information acquisition module, a network address generation module and a network address registration module;
the prefix information acquisition module is used for acquiring network prefix information of the subscriber identity module card;
the identification information acquisition module is used for acquiring host identification information of the communication module, and the host identification information comprises an identification for identifying the communication module;
the network address generating module is used for generating a network address to be registered according to the network prefix information and the host identification information;
the network address registration module is used for finishing network registration according to the network address to be registered and taking the network address to be registered as the target network address of the communication module.
The embodiment of the present invention further provides a communication system, where the communication system is applied to a receiving end, and the communication system includes: the device comprises an address generating module, an address sending module, a request receiving module and a first communication module;
the address generation module is used for generating a target network address according to the network address generation system;
the request receiving module is used for receiving a communication request of a sending end;
the first communication module is used for carrying out data communication with the sending end.
The embodiment of the present invention further provides a communication system, where the communication system is applied to a sending end, and the communication system includes: the system comprises an address acquisition module, a positioning module, a communication request module and a second communication module;
the address acquisition module is used for acquiring a target network address of the communication module, wherein the target network address is a network address generated according to the generation method;
the positioning module is used for positioning the communication module according to the target network address;
the communication request module is used for initiating a communication request to the communication module;
the second communication module is used for carrying out data communication with the communication module.
An embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the network address generation method or the communication method as described above when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for generating a network address or the method for communicating as described above.
The embodiment of the invention has the positive improvement effects that: the invention can generate the network address to be registered according to the host identification information and the network prefix information of the user identification card, can obtain the fixed target network address of the communication module after network registration is completed, and can position the communication module according to the target network address when communication with the communication module is required.
Drawings
Fig. 1 is a flowchart of a method for generating a network address according to embodiment 1 of the present invention.
Fig. 2 is a flowchart of a specific implementation manner of step 101 in embodiment 1 of the present invention.
Fig. 3 is a flowchart of a specific implementation manner of step 102 in embodiment 1 of the present invention.
Fig. 4 is a flowchart of a communication method applied to a receiving end in embodiment 2 of the present invention.
Fig. 5 is a flowchart of a communication method applied to a transmitting end in embodiment 2 of the present invention.
Fig. 6 is a schematic diagram of communication interaction between a receiving end and a sending end in embodiment 2 of the present invention.
Fig. 7 is a scene schematic diagram of communication interaction between a receiving end and a sending end in embodiment 2 of the present invention.
Fig. 8 is a schematic block diagram of a network address generation system in embodiment 3 of the present invention.
Fig. 9 is a schematic block diagram of a communication system applied to a receiving end in embodiment 4 of the present invention.
Fig. 10 is a block diagram of a communication system applied to a transmitting end in embodiment 4 of the present invention.
Fig. 11 is a schematic block diagram of an electronic device in embodiment 5 of the present invention.
Detailed Description
Terms commonly found in the present embodiment are first described below for easy understanding:
the terms "having," "may have," "include," or "may include," as used herein, indicate the presence of the corresponding function, operation, element, etc. of the disclosure, and do not limit the presence of the other function or functions, operations, elements, etc. It will be further understood that the terms "comprises" and "comprising," when used herein, specify the presence of stated features, integers, steps, operations, elements, components, or groups thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups thereof.
The descriptions of the first, second, etc. appearing in the embodiments of the present application are for illustrative purposes and for distinguishing the objects of description, and do not indicate any particular limitation on the number of devices in the embodiments of the present application, and do not constitute any limitation on the embodiments of the present application. For example, a first element could be termed a second element, without departing from the scope of the present disclosure, and, similarly, a second element could be termed a first element.
Electronic devices according to various embodiments of the present disclosure may include, for example, at least one of: a smartphone, a tablet Personal Computer (PC), a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop PC, a netbook, a workstation, a server, a Personal Digital Assistant (PDA), a Portable Multimedia Player (PMP), an MP3 player, an ambulatory medical device, a camera, or a wearable device (e.g., a head-mounted device (HMD), electronic glasses, electronic clothing, an electronic bracelet, an electronic necklace, an electronic accessory, an electronic tattoo, a smart mirror, or a smart watch). In other embodiments, the electronic device may be a smart home appliance, such as a Television (TV), a Digital Video Disc (DVD) player, an audio component, a refrigerator, an air conditioner, a vacuum cleaner, an oven, a microwave oven, a dishwasher, an air purifier, a set-top box, a home automation control panel, a security control panel, a TV box, a game table, an electronic dictionary, an electronic key, a camcorder, or an electronic photo frame.
In other embodiments, the electronic device may include at least one of: a medical device, such as an ambulatory medical device (e.g., a blood glucose monitoring device, a heart rate monitor, a blood pressure monitoring device, or a thermometer), a Magnetic Resonance Angiography (MRA) machine, a Magnetic Resonance Imaging (MRI) machine, a Computed Tomography (CT) scanner, or an ultrasound machine; a navigation device; a Global Positioning System (GPS) receiver; event Data Recorder (EDR); a Flight Data Recorder (FDR); an in-vehicle infotainment device; marine electronics (e.g., a marine navigation device and/or a gyroscopic compass); an avionics device; a security device; a car stereo; industrial or domestic robots; an Automated Teller Machine (ATM) of a financial institution; a point of sale (POS) device of a retail store; or an internet of things device (e.g., a light bulb, various sensors, an electricity meter, a gas meter, a sprinkler, a fire alarm, a thermostat, a street light, a toaster, a sports device, a thermos, a heater or a water heater, etc.).
In certain embodiments, the electronic device may include at least one of a piece of furniture or a building/structure, an electronic board, an electronic signature receiving device, a projector, and various measurement instruments (e.g., a water meter, an electricity meter, a gas meter, or a wavelength meter).
Electronic devices according to various embodiments of the present disclosure may also include combinations of one or more of the above-mentioned devices. Further, the electronic device according to various embodiments of the present disclosure is not limited to the above-mentioned devices, which will be apparent to those skilled in the art.
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
The embodiment provides a method for generating a network address, which may be specifically applied to a terminal, where the terminal specifically includes a subscriber identity card and a communication module, and as shown in fig. 1, the method includes:
step 101, network prefix information of the user identification card is obtained.
The Subscriber Identity Module (SIM) card is usually a Subscriber Identity Module (SIM) card, and the operator issues corresponding prefix information.
And 102, acquiring host identification information of the communication module.
The host identification information includes an identifier for identifying the communication module, and in this embodiment, specifically, the identifier is a unique identifier for identifying the communication module.
It should be understood that in other embodiments, step 102 may be performed first, and then step 101 may be performed.
And 103, generating a network address to be registered according to the network prefix information and the host identification information.
And step 104, completing network registration according to the network address to be registered, and taking the network address to be registered as the target network address of the communication module.
After the network registration is completed, the communication module has a unique network address, namely a target network address, and the communication module can perform network communication after completing the network access. It should be understood that the network registration may be performed by referring to the communication module in the prior art.
In this embodiment, a network address to be registered may be generated according to host identifier information and network prefix information of a subscriber identity module, after network registration is completed, a fixed target network address of a communication module may be obtained, and when communication with the communication module is required, the communication module may be located according to the target network address.
In a specific embodiment, as shown in fig. 2, step 101 specifically includes:
step 1011, sending the network activation information.
The network activation information comprises identification information of the user identification card and a request instruction for network activation, and the request instruction is used for triggering the network terminal to acquire network prefix information of the user identification card according to the identification information.
Step 1012, receiving the network prefix information of the subscriber identity card.
It should be understood that in other embodiments, the network prefix information of the subscriber identity cards may also be obtained in other manners, such as storing the network prefix information of each subscriber identity card in the memory in advance, and calling the network prefix information of the corresponding subscriber identity card from the memory when needed.
In the embodiment, the network prefix information of the subscriber identity module card can be received by sending the network activation information, so that the network prefix information can be effectively obtained on one hand, and on the other hand, the network prefix information does not need to be stored in advance, thereby reducing the storage pressure and saving the system resources.
In a specific embodiment, as shown in fig. 3, step 102 specifically includes:
step 1021, acquiring the equipment number of the communication module;
step 1022, generate host identification information according to the device number.
Specifically, each communication module has a unique device number, i.e., an International Mobile Equipment Identity (IMEI) number, and the device number can be directly obtained from the communication module, for example, by a tag attached to the communication module. Therefore, in this embodiment, the device number can be simply and efficiently acquired, and the host indicating information for identifying the communication module can be generated based on the device number, so that the target network address capable of effectively locating the communication module can be generated.
In one particular embodiment, the network address format includes an IPV6 address format.
The IPV6 is a currently mainstream communication protocol, the total length of the network address under the protocol is 128 bits, and the protocol has the characteristic of a huge address space, and the present embodiment is specifically used in the context of IPV6, and the network address is specifically an address in the format of IPV6, so that the present embodiment can adapt to mainstream communication requirements, and has higher practicability.
It should be understood that, in other embodiments, the present invention may also be used in a scenario of other network protocols, that is, in a scenario of other network protocols in which the host identifier is randomly generated by the communication module of the terminal, and the present embodiment is not limited to this.
For better understanding of the present embodiment, the following takes IPV6 protocol as an example, and describes the generation process of the target network address by a specific example:
the total length of the IPv6 address is 128 bits, and the format is as follows:
XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX
the colon is divided into hexadecimal blocks, each block of 4 hexadecimal numbers can represent 16 binary numbers, and therefore 128 binary numbers are in total. The Protocol is not letter size sensitive, the final display is capitalized, and setting 0 in front of each group is allowable, but 0 in IPV4(Internet Protocol Version 4 ) cannot be set in front of each group.
Generally, for a communication module, the device number has 15 bits (16 bits), and the last bit (i.e. 16 bits) is a check bit. The host identification information occupies 64 bits, which corresponds to 16-system numbers, and by adding 1 to the device number IMEI (in other embodiments, 0 may be added to the device number IMEI), 16-bit 16-system numbers can be obtained as the host identification information.
For the IPV 6-formatted network address, the network prefix information occupies 64 bits (binary), and since the network prefix information is issued by the operator, the network prefix information can be confirmed in advance by the card manufacturer of the subscriber identity card, for example, the receiving end sends the network activation information to the base station corresponding to the subscriber identity card, and after receiving the network activation instruction, the base station finds the corresponding network prefix information according to the identification information of the subscriber identity card therein, and then sends the network prefix information to the receiving end, so that the receiving end can obtain the network prefix information.
Therefore, a 128-bit network address to be registered is generated according to the 64-bit network prefix information and the 64-bit host identification information, after network registration is performed, a target network address can be obtained, the target network address can be positioned to a receiving end, specifically, a communication module in the receiving end can be positioned, and a communication request can be initiatively sent to the communication module.
Example 2
The present embodiment provides a communication method, which is applied to a receiving end, and specifically, the receiving end includes a communication module and a subscriber identity module, where the receiving end in this embodiment is a terminal that passively receives a communication request from an opposite end, and a sending end is a terminal that actively sends a communication request to the opposite end, it should be understood that the sending end and the receiving end in this embodiment are relative concepts, and in other embodiments, the receiving end may also be used as the sending end, and the sending end may be used as the receiving end.
As shown in fig. 4, the communication method includes:
step 201, generating a target network address.
Specifically, step 201 may generate the target network address by the network address generation method in embodiment 1.
Step 202, receiving a communication request from a sending end.
And step 203, carrying out data communication with the sending end.
In this embodiment, the sending end may actively send a communication request to the receiving end by using the target network address, and the receiving end may receive the communication request actively sent by the sending end and perform data communication with the sending end based on the communication request.
The embodiment also provides a communication method, which is applied to a receiving end, as shown in fig. 5, the communication method includes:
step 301, acquiring a target network address of the communication module.
Wherein, the target network address is the network address generated according to the generation method described in embodiment 1, that is, the network address generated in step 201.
Step 302, positioning a communication module according to a target network address;
step 303, initiating a communication request to the communication module.
In this embodiment, the communication request received in step 202 is the communication request initiated in step 303.
Step 304, data communication is performed with the communication module.
In this embodiment, a sending end can locate a communication module according to a target network address when needing to communicate with the communication module, and this embodiment overcomes the defect that the sending end cannot actively communicate with the communication module because a host identifier in a network address is randomly generated by the communication module, so that the sending end is difficult to locate a receiving end (specifically, a communication module of the receiving end) according to the network address.
For better understanding of the present embodiment, the following takes IPV6 protocol as an example, and describes the communication process between the sender and the receiver by a specific example:
as shown in fig. 6, after the receiving end generates the target network address in step 201, when the sending end needs to communicate with the receiving end, step 302 may be executed to locate the terminal according to the target network address, and may actively initiate a communication request to the receiving end, that is, step 303 is executed, and after the receiving end executes step 203 and receives the communication request, the sending end may communicate with the receiving end.
Specifically, as shown in fig. 7, it is assumed that the receiving end is a server on the network side, and the transmitting end is specifically a terminal, and in this scenario, the receiving end at least includes 3 transmitting ends, and each transmitting end includes a communication module a, a communication module B, and a communication module C. The communication module A can generate a fixed first target network address through the step 201, the communication module B can generate a fixed second target network address through the step 201, the communication module C can generate a fixed third target network address through the step 201, the server can position the communication module according to the respective fixed network addresses of the communication modules, if the server needs to communicate with the communication module B and needs to acquire data of the communication module B, the server can position the communication module B through the second target network address to further initiatively initiate a communication request to the communication module B and initiatively acquire the data of the communication module B. For example, the communication module B is a communication module of the electric meter terminal, and generally, the electric meter terminal is required to actively report the electric meter data, for example, the electric meter data is reported to the server once every month.
Example 3
The present embodiment provides a network address generation system, as shown in fig. 8, the generation system includes: a prefix information acquisition module 401, an identification information acquisition module 402, a network address generation module 403, and a network address registration module 404;
the prefix information obtaining module 401 is configured to obtain network prefix information of the subscriber identity module;
the identification information obtaining module 402 is configured to obtain host identification information of the communication module, where the host identification information includes an identifier for identifying the communication module;
the network address generating module 403 is configured to generate a network address to be registered according to the network prefix information and the host identifier information.
The network address registration module 404 is configured to complete network registration according to the network address to be registered, and use the network address to be registered as a target network address of the communication module.
Specifically, the manner in which the prefix information obtaining module 401 obtains the network prefix information of the subscriber identity module, the manner in which the identification information obtaining module 402 obtains the host identification information of the communication module, and the manner in which the network address generating module 403 generates the network address to be registered and the network address registering module 404 generates the target network address may refer to the manner in embodiment 1, and this embodiment is not described again.
In this embodiment, the network address generation module may generate a target network address according to the host identifier information and the network prefix information of the subscriber identity module, and after the network address registration module completes network registration, a fixed target network address of the communication module may be obtained, and when communication with the communication module is required, the communication module may be located according to the target network address.
Example 4
This embodiment provides a communication system, where the communication method is applied to a receiving end, where the receiving end may specifically include a communication module and a subscriber identity module, as shown in fig. 9, the communication system includes: an address generating module 501, a request receiving module 502 and a first communication module 503.
The address generation module 501 is used to generate a target network address according to the network address generation system of embodiment 3;
the request receiving module 502 is configured to receive a communication request from a sending end;
the first communication module 503 is configured to perform data communication with a sending end.
Specifically, the manner in which the address generating module 501 generates the target network address, the manner in which the request receiving module 502 receives the communication request, and the manner in which the first communication module 503 performs data communication may refer to the manner in embodiment 3, and this embodiment is not described again.
In this embodiment, the sending end may actively send a communication request to the receiving end by using a fixed target network address, the receiving module may receive the communication request actively sent by the sending end, and the first communication module may perform data communication with the sending end based on the communication request.
This embodiment further provides a communication system, where the communication system is applied to a sending end, as shown in fig. 10, the communication system includes: an address acquisition module 601, a positioning module 602, a communication request module 603, and a second communication module 604.
The address obtaining module 601 is configured to obtain a target network address of the communication module, where the target network address is a network address generated according to the generation method in embodiment 1;
the positioning module 602 is configured to position the communication module according to the target network address;
the communication request module 603 is configured to initiate a communication request to the communication module;
the second communication module 604 is used for data communication with the communication module.
Specifically, the manner in which the address obtaining module 601 obtains the target network address, the manner in which the positioning module 602 positions the communication module, the manner in which the communication request module 603 initiates the communication request, and the manner in which the second communication module 604 performs data communication may refer to the manner in embodiment 2, and this embodiment is not described again.
In this embodiment, the sending end can locate the communication module of the receiving end according to the target network address when communication with the receiving end is required, and this embodiment overcomes the defect that the sending end is difficult to locate the communication module of the receiving end according to the network address and cannot actively communicate with the receiving end because the host identifier in the network address is randomly generated by the communication module.
Example 5
This embodiment provides an electronic device, which may be represented in the form of a computing device (for example, may be a server device), and includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the network address generation method in embodiment 1 and the communication method in embodiment 2.
Fig. 11 shows a schematic diagram of a hardware structure of the present embodiment, and as shown in fig. 11, the electronic device 9 specifically includes:
at least one processor 91, at least one memory 92, and a bus 93 for connecting the various system components (including the processor 91 and the memory 92), wherein:
the bus 93 includes a data bus, an address bus, and a control bus.
Memory 92 includes volatile memory, such as Random Access Memory (RAM)921 and/or cache memory 922, and can further include Read Only Memory (ROM) 923.
Memory 92 also includes a program/utility 925 having a set (at least one) of program modules 924, such program modules 924 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The processor 91 executes various functional applications and data processing, such as a network address generation method in embodiment 1 and a communication method in embodiment 2 of the present invention, by running the computer program stored in the memory 92.
The electronic device 9 may further communicate with one or more external devices 94 (e.g., a keyboard, a pointing device, etc.). Such communication may be through an input/output (I/O) interface 95. Also, the electronic device 9 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 96. The network adapter 96 communicates with the other modules of the electronic device 9 via the bus 93. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 9, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module, according to embodiments of the application. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 6
The present embodiment provides a computer-readable storage medium on which a computer program is stored, the program implementing the network address generation method in embodiment 1 and the communication method in embodiment 2 when executed by a processor.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation manner, the present invention can also be implemented in a form of a program product, which includes program code for causing a terminal device to execute a method for implementing the network address generation method in embodiment 1 and the communication method in embodiment 2 when the program product runs on the terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (11)

1. A method for generating a network address, the method comprising:
acquiring network prefix information of a user identification card;
acquiring host identification information of a communication module, wherein the host identification information comprises an identification for identifying the communication module;
generating a network address to be registered according to the network prefix information and the host identification information;
and completing network registration according to the network address to be registered, and taking the network address to be registered as a target network address of the communication module.
2. The generation method of claim 1, wherein the obtaining network prefix information of the subscriber identity card comprises:
sending network activation information, wherein the network activation information comprises identification information of a user identification card and a request instruction of network activation;
and receiving the network prefix information of the user identification card.
3. The method of claim 1, wherein the obtaining host identification information of the communication module comprises:
acquiring the equipment number of the communication module;
and generating host identification information according to the equipment number.
4. The generation method of claim 1, wherein the format of the target network address comprises an IPV6 address format.
5. A communication method is applied to a receiving end, and the communication method comprises the following steps:
generating a target network address according to the method for generating a network address according to any one of claims 1 to 4;
receiving a communication request of a sending end;
and carrying out data communication with the sending end.
6. A communication method is applied to a sending end, and the communication method comprises the following steps:
acquiring a target network address of a communication module, wherein the target network address is generated according to the network address generation method of any one of claims 1 to 4;
positioning a communication module according to the target network address;
initiating a communication request to the communication module;
and carrying out data communication with the communication module.
7. A system for generating a network address, the system comprising: the device comprises a prefix information acquisition module, an identification information acquisition module, a network address generation module and a network address registration module;
the prefix information acquisition module is used for acquiring network prefix information of the subscriber identity module card;
the identification information acquisition module is used for acquiring host identification information of the communication module, and the host identification information comprises an identification for identifying the communication module;
the network address generating module is used for generating a network address to be registered according to the network prefix information and the host identification information;
the network address registration module is used for finishing network registration according to the network address to be registered and taking the network address to be registered as the target network address of the communication module.
8. A communication system, wherein the communication system is applied to a receiving end, the communication system comprising: the device comprises an address generating module, a request receiving module and a first communication module;
the address generation module is configured to generate a target network address according to the network address generation system of claim 7;
the request receiving module is used for receiving a communication request of a sending end;
the first communication module is used for carrying out data communication with the sending end.
9. A communication system, wherein the communication system is applied to a transmitting end, the communication system comprising: the system comprises an address acquisition module, a positioning module, a communication request module and a second communication module;
the address acquisition module is used for acquiring a target network address of the communication module, wherein the target network address is generated according to the network address generation method of any one of claims 1 to 4;
the positioning module is used for positioning the communication module according to the target network address;
the communication request module is used for initiating a communication request to the communication module;
the second communication module is used for carrying out data communication with the communication module.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for generating a network address according to any one of claims 1 to 4 and the method for communicating according to claim 5 or claim 6 when executing the computer program.
11. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the method for generating a network address according to any one of claims 1 to 4, the communication method according to claim 5 or claim 6.
CN202111491514.8A 2021-12-08 2021-12-08 Network address generation method, communication method, system, device and storage medium Pending CN114363292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111491514.8A CN114363292A (en) 2021-12-08 2021-12-08 Network address generation method, communication method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111491514.8A CN114363292A (en) 2021-12-08 2021-12-08 Network address generation method, communication method, system, device and storage medium

Publications (1)

Publication Number Publication Date
CN114363292A true CN114363292A (en) 2022-04-15

Family

ID=81096900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111491514.8A Pending CN114363292A (en) 2021-12-08 2021-12-08 Network address generation method, communication method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN114363292A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115190101A (en) * 2022-09-08 2022-10-14 北京交通大学 Network address management and data transmission method of equipment
CN115604233A (en) * 2022-12-12 2023-01-13 河北振创电子科技有限公司(Cn) Method and device for actively registering address of modbus protocol equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1418440A (en) * 2000-01-20 2003-05-14 诺基亚有限公司 Address acquisition
KR20060115784A (en) * 2005-05-06 2006-11-10 모다정보통신 주식회사 Method for generating automatically ipv6 address by using ipv6 identifier
CN101091357A (en) * 2004-10-29 2007-12-19 意大利电信股份公司 Method for controlling routing operations in a network, related network and computer program product thereof
US20090204691A1 (en) * 2008-02-13 2009-08-13 Futurewei Technologies, Inc. USAGE OF HOST GENERATING INTERFACE IDENTIFIERS IN DHCPv6
US20140307651A1 (en) * 2013-04-12 2014-10-16 Futurewei Technologies, Inc. Internet Protocol Address Registration
JP2017143364A (en) * 2016-02-09 2017-08-17 日本電信電話株式会社 Address generation method, apparatus, and program, and address delivery method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1418440A (en) * 2000-01-20 2003-05-14 诺基亚有限公司 Address acquisition
CN101091357A (en) * 2004-10-29 2007-12-19 意大利电信股份公司 Method for controlling routing operations in a network, related network and computer program product thereof
KR20060115784A (en) * 2005-05-06 2006-11-10 모다정보통신 주식회사 Method for generating automatically ipv6 address by using ipv6 identifier
US20090204691A1 (en) * 2008-02-13 2009-08-13 Futurewei Technologies, Inc. USAGE OF HOST GENERATING INTERFACE IDENTIFIERS IN DHCPv6
US20140307651A1 (en) * 2013-04-12 2014-10-16 Futurewei Technologies, Inc. Internet Protocol Address Registration
JP2017143364A (en) * 2016-02-09 2017-08-17 日本電信電話株式会社 Address generation method, apparatus, and program, and address delivery method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
F.DUPONT: "IMEI-based universal IPv6 interface IDs draft-dupont-ipv6-imei-10.txt", Retrieved from the Internet <URL:https://datatracker.ietf.org/doc/html/draft-dupont-ipv6-imei-06> *
M.FORD(BT): "IST-2001-34056 Deliverable D5.1.6 "Standardisation Report"", Retrieved from the Internet <URL:http://www.ipv6tf.org/pdf/IPv6STDReptDec03.pdf> *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115190101A (en) * 2022-09-08 2022-10-14 北京交通大学 Network address management and data transmission method of equipment
CN115190101B (en) * 2022-09-08 2023-01-17 北京交通大学 Network address management and data transmission method of equipment
CN115604233A (en) * 2022-12-12 2023-01-13 河北振创电子科技有限公司(Cn) Method and device for actively registering address of modbus protocol equipment

Similar Documents

Publication Publication Date Title
CN105530596B (en) Device and method for secure connection
CN114363292A (en) Network address generation method, communication method, system, device and storage medium
US10075896B2 (en) Service providing method using a beacon and electronic apparatus thereof
US11635971B2 (en) Scalable life-cycle maintenance of hardware
US20200134603A1 (en) Payment system, electronic device and payment method thereof
CN106250770B (en) Electronic device and method for encrypting content
CN107391277B (en) Information processing method and device
US20170201378A1 (en) Electronic device and method for authenticating identification information thereof
EP3220339A1 (en) Payment transaction method and electronic device therefor
US20170053285A1 (en) Electronic device and user authentication method thereof
KR20160083915A (en) Method, apparatus, and system for communicating and presenting product information
US11010749B2 (en) Payment processing method and electronic device supporting the same
US10366246B2 (en) Electronic device and operating method thereof
KR20150142218A (en) Electronic device and method for connecting to network
KR20160057101A (en) Method for securing image data and electronic device implementing the same
US10410205B2 (en) Apparatus and method for performing payment transaction using dynamic MST configuration
CN110675154A (en) Service providing method, device, equipment and medium based on face recognition
CN109660581B (en) Physical machine management method, device and system
EP3346672B1 (en) Electronic device and application sharing method thereof
KR20150104697A (en) Method and apparatus for grouping of personal electronic device using qr code and system therefor
EP3084560B1 (en) Electronic device and operating method thereof
US20160065727A1 (en) Electronic device and method for configuring message, and wearable electronic device and method for receiving and executing the message
CN106921547B (en) Apparatus and method for managing device
KR20150126232A (en) Encryption data determination method and host device supporting the same
EP3114573B1 (en) Apparatus and method for improving loading time in electronic device

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