CN112714438A - Method and device for distributing Host equipment ID and electronic equipment - Google Patents

Method and device for distributing Host equipment ID and electronic equipment Download PDF

Info

Publication number
CN112714438A
CN112714438A CN202110316615.5A CN202110316615A CN112714438A CN 112714438 A CN112714438 A CN 112714438A CN 202110316615 A CN202110316615 A CN 202110316615A CN 112714438 A CN112714438 A CN 112714438A
Authority
CN
China
Prior art keywords
host
mapping
equipment
host device
acquiring
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.)
Granted
Application number
CN202110316615.5A
Other languages
Chinese (zh)
Other versions
CN112714438B (en
Inventor
黄金煌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Unigroup Tsingteng Microsystems Co Ltd
Original Assignee
Beijing Unigroup Tsingteng Microsystems 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 Beijing Unigroup Tsingteng Microsystems Co Ltd filed Critical Beijing Unigroup Tsingteng Microsystems Co Ltd
Priority to CN202110316615.5A priority Critical patent/CN112714438B/en
Publication of CN112714438A publication Critical patent/CN112714438A/en
Application granted granted Critical
Publication of CN112714438B publication Critical patent/CN112714438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to the technical field of communication, and discloses a method for distributing Host equipment ID, which comprises the following steps: acquiring a plurality of Host devices accessed to a Host network; different mapping IDs are assigned to the respective Host devices. By acquiring a plurality of Host devices accessed to a Host network, different mapping IDs are allocated to the Host devices. Different mapping addresses are allocated to the Host with the same address, so that the Host devices with the same device ID can access the network simultaneously without generating conflict. The application also discloses a device for distributing the Host equipment ID and the electronic equipment.

Description

Method and device for distributing Host equipment ID and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and for example, to a method and an apparatus for assigning a Host device ID, and an electronic device.
Background
Since domestic mobile phones are basically dual-card dual-standby and the mobile phone cards of users belong to different telecom operators, the operators all urgently need that the SIM cards (Subscriber Identity modules) all support the SWP (Single Wire Protocol) function.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art: the requirements of the operator on the SWP chip are all relatively early specification versions, and conflicts may occur when Host devices with the same device ID (Identity document) access the network simultaneously.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method and a device for allocating Host device IDs and electronic equipment, so that the Host devices with the same device IDs can be simultaneously accessed into a network without generating conflicts.
In some embodiments, a method for assigning a Host device ID comprises:
acquiring a plurality of Host devices accessed to a Host network;
different mapping IDs are assigned to the respective Host devices.
In some embodiments, the means for assigning a Host device ID comprises: a processor and a memory storing program instructions, the processor configured to, upon execution of the program instructions, perform the method for assigning a Host device ID as described above.
In some embodiments, the electronic device includes the above-described means for assigning a Host device ID.
The method, the device and the electronic equipment for distributing the Host equipment ID provided by the embodiment of the disclosure can realize the following technical effects: by acquiring a plurality of Host devices accessed to a Host network, different mapping IDs are allocated to the Host devices. Different mapping addresses are allocated to the Host with the same address, so that the Host devices with the same device ID can access the network simultaneously without generating conflict.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the accompanying drawings and not in limitation thereof, in which elements having the same reference numeral designations are shown as like elements and not in limitation thereof, and wherein:
FIG. 1 is a schematic diagram of a method for assigning a Host device ID provided by an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a method for establishing a Host device logical channel for an intelligent terminal according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a Host device communication method for an intelligent terminal according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of an apparatus for assigning a Host device ID according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
As shown in fig. 1, an embodiment of the present disclosure provides a method for assigning a Host device ID, including:
step S101, acquiring a plurality of Host devices accessed to a Host network;
step S102 assigns different mapping IDs to the respective Host devices.
By adopting the method for allocating the Host equipment ID provided by the embodiment of the disclosure, the plurality of Host equipment accessed to the Host network are obtained, and different mapping IDs are allocated to the Host equipment. Different mapping IDs are allocated to the Host devices with the same device ID, so that the Host devices with the same device ID can access the network simultaneously without generating conflict.
Optionally, acquiring a plurality of Host devices accessing a Host network includes: activating Host equipment corresponding to a preset access position to obtain an activation result; and acquiring a plurality of Host devices accessed to the Host network according to the activation result.
Optionally, in the case that the activation result is that an activation response is obtained, the Host device accesses the Host network. Optionally, in the case that the activation result is that the activation response is not obtained, the Host device does not access the Host network.
Optionally, assigning different mapping IDs to the Host devices includes: acquiring the equipment ID of each Host equipment, and acquiring a mapping list; the mapping list stores the corresponding relation between the mapping ID and the access position; and allocating each mapping ID to each Host device according to the access position of the Host device, and obtaining the corresponding relation between the device ID of each Host device and each mapping ID.
Optionally, the mapping ID is a first virtual address incremented according to a preset rule.
Optionally, the first virtual address is incremented in the order of the numbering of the access locations.
In some embodiments, table 1 is an example table of the correspondence between the device ID and the mapping ID of each Host device, as shown in table 1, the device ID of the access location 1 is 0x02, and the corresponding mapping ID is 0x 80; the device ID of access location 2 is 0x02, the corresponding mapping ID is 0x 81; the device ID of the access location N is 0x03, and the corresponding mapping ID is 0x 8N; the device ID of access location N +1 is 0x04, and the corresponding mapping ID is 0x8N + 1.
Figure 448773DEST_PATH_IMAGE001
TABLE 1
Optionally, after the mapping ID is assigned to the device ID, the method further includes: monitoring the Host equipment to obtain a monitoring result; and carrying out distribution change of the mapping ID according to the monitoring result.
Optionally, monitoring the Host device to obtain a monitoring result, including: and activating each access position according to preset interval time to obtain an activation result, and obtaining a monitoring result according to the activation result.
Optionally, in the case that the activation result is that an activation response is obtained, the monitoring result is that the Host device is monitored. Optionally, in a case that the activation result is that the activation response is not obtained, the monitoring result is that the Host device is not monitored.
Optionally, the performing of the distribution change of the mapping ID according to the monitoring result includes: and under the condition that the Host equipment is not monitored in the monitoring result, canceling the corresponding relation between the equipment ID of the Host equipment which is not monitored and the mapping ID, namely canceling the corresponding relation between the equipment ID of the Host equipment which corresponds to the monitoring result and the mapping ID.
Optionally, canceling the correspondence between the device ID of the not-monitored Host device and the mapping ID includes: removing the device ID of the Host device that is not monitored, and changing the corresponding mapping ID to an invalid mapping ID, for example: 0x 00.
In some embodiments, each access location is activated every one second, and if no activation response is obtained, the corresponding access location does not monitor the Host device, removes the device ID of the Host device that is not monitored, and changes the corresponding mapping ID to an invalid mapping ID. Table 2 is an example table of a case where the device ID of the Host device of access location 2 in table 1 is removed; as shown in table 2, the device ID of access location 1 is 0x02, and the corresponding mapping ID is 0x 80; the device ID for access location 2 is removed and the corresponding invalid mapping ID is 0x 00; the device ID of the access location N is 0x03, and the corresponding mapping ID is 0x 8N; the device ID of access location N +1 is 0x04, and the corresponding mapping ID is 0x8N + 1.
Figure 528724DEST_PATH_IMAGE002
TABLE 2
Optionally, assigning different mapping IDs to the Host devices, further includes: acquiring the device ID of the Host device corresponding to the activation response under the condition that the activation result is that the activation response is obtained; and allocating a second virtual address to the Host device corresponding to the activation response, and determining the second virtual address as the mapping ID. Each Host device obtains the correspondence between the mapping ID and the device ID.
Optionally, the second virtual address is incremented by a preset initial virtual address in the order of the activation response. Optionally, the initial virtual address is 0x 80. In some embodiments, table 3 is an example table of the correspondence between the device ID and the mapping ID of each Host device, as shown in table 3, the device ID of the access location 1 is 0x02, and the corresponding mapping ID is 0x 80; the device ID of access location 2 is 0x02, the corresponding mapping ID is 0x 81; the device ID of access location 3 is 0x03, the corresponding mapping ID is 0x 82; the device ID of access location 4 is 0x04 and the corresponding mapping ID is 0x 83.
Figure 554449DEST_PATH_IMAGE003
TABLE 3
Optionally, after the mapping ID is assigned to the device ID, the method further includes: monitoring the Host equipment to obtain a monitoring result; and carrying out distribution change of the mapping ID according to the monitoring result.
Optionally, monitoring the Host device to obtain a monitoring result, including: and activating each access position according to preset interval time to obtain an activation result, and obtaining a monitoring result according to the activation result.
Optionally, in the case that the activation result is that an activation response is obtained, the monitoring result is that the Host device is monitored. Optionally, in a case that the activation result is that the activation response is not obtained, the monitoring result is that the Host device is not monitored.
Optionally, the performing of the distribution change of the mapping ID according to the monitoring result includes: and under the condition that the Host equipment is not monitored in the monitoring result, canceling the corresponding relation between the equipment ID of the Host equipment which is not monitored and the mapping ID.
Optionally, canceling the correspondence between the device ID of the not-monitored Host device and the mapping ID includes: removing the device ID of the Host device that is not monitored, and changing the corresponding mapping ID to an invalid mapping ID, for example: 0x 00.
In some embodiments, each access location is activated every one second, and if no activation response is obtained, the corresponding access location does not monitor the Host device, removes the device ID of the Host device that is not monitored, and changes the corresponding mapping ID to an invalid mapping ID. Table 4 is an example table of table 3 with the device ID of the Host device of access location 2 removed; as shown in table 4, the device ID of access location 1 is 0x02, and the corresponding mapping ID is 0x 80; the device ID for access location 2 is removed and the corresponding invalid mapping ID is 0x 00; the device ID of access location 3 is 0x03, the corresponding mapping ID is 0x 82; the device ID of access location 4 is 0x04 and the corresponding mapping ID is 0x 83.
Figure 477274DEST_PATH_IMAGE004
TABLE 4
Optionally, after the mapping ID is assigned to the device ID, the method further includes: acquiring Host equipment newly accessed to a Host network; and allocating different mapping IDs to the newly accessed Host equipment.
Optionally, assigning a different mapping ID to the newly accessed Host device includes: traversing from a preset initial virtual address according to an increasing sequence; and allocating the mapping ID which is searched firstly and does not form a corresponding relation with the equipment ID to the newly accessed Host equipment.
In some embodiments, table 5 allocates an example table of mapping IDs for the newly accessed Host device in table 4; as shown in table 5, the device ID of access location 1 is 0x02, and the corresponding mapping ID is 0x 80; the device ID of the newly accessed Host device corresponding to the access position 5 is 0x05, and the corresponding mapping ID is 0x 81; the device ID of access location 3 is 0x03, the corresponding mapping ID is 0x 82; the device ID of access location 4 is 0x04 and the corresponding mapping ID is 0x 83.
Figure 207333DEST_PATH_IMAGE005
TABLE 5
In this way, by acquiring a plurality of Host devices accessing the Host network, different mapping IDs are assigned to the respective Host devices. Different mapping addresses are allocated to the Host with the same address, so that the Host devices with the same device ID can access the network simultaneously without generating conflict.
In some embodiments, with reference to fig. 2, an embodiment of the present disclosure provides a method for establishing a Host device logical channel for an intelligent terminal, where the intelligent terminal is provided with a processing module, a control unit, and a plurality of Host devices, and optionally, the intelligent terminal is a smart phone or a tablet computer. The method for establishing the Host equipment logic channel for the intelligent terminal comprises the following steps:
step S201, a control unit of the intelligent terminal acquires a plurality of Host devices of the intelligent terminal accessed to a Host network, allocates different mapping IDs to the Host devices, and obtains a corresponding relation between the device IDs of the Host devices and the mapping IDs;
step S202, the control unit sends each mapping ID to a processing module of the intelligent terminal;
step S203, the control unit receives a first network access request sent by the processing module; optionally, the first network access request includes an ID of the intelligent terminal and a target mapping ID; the target mapping ID is a mapping ID randomly selected from mapping IDs sent by the control unit; the control unit searches the equipment ID and the access position of the Host equipment corresponding to the target mapping ID according to the corresponding relation between the target mapping ID and the equipment ID of the Host equipment; determining the device ID of the Host device corresponding to the searched target mapping ID as the target Host device ID;
step S204, the control unit sends a second network access request to the target Host equipment corresponding to the target Host equipment ID according to the searched access position; the second network access request comprises the ID of the intelligent terminal, the ID of the target Host equipment and a logic channel number; the logic channel number is a third virtual address randomly selected from a preset range, and all the logic channel numbers are not repeated;
step S205, the target Host device receives the second network access request sent by the control unit, and creates a logic channel according to the second network access request;
step S206, the target Host device feeds back information of successful creation of the logic channel to the control unit;
step S207, the control unit receives the information that the creation of the logical channel is successful and obtains the corresponding relation between the logical channel number and the ID of the target Host device;
and step S208, the control unit sends the information of successful creation of the logic channel to the processing module of the intelligent terminal.
In some embodiments, an embodiment of the present disclosure provides a method for establishing a Host device logical channel for an intelligent terminal, including:
the method comprises the steps that a control unit of the intelligent terminal obtains a plurality of Host devices of the intelligent terminal accessed to a Host network, different mapping IDs are distributed to the Host devices, and the corresponding relation between the device IDs of the Host devices and the mapping IDs is obtained;
the control unit receives a third network access request sent by the Host device, and optionally, the third network access request includes a device ID of the Host device and an ID of the intelligent terminal; the control unit searches a mapping ID corresponding to the equipment ID of the Host equipment according to the corresponding relation between the equipment ID of the Host equipment and the mapping ID; determining the searched mapping ID as a target mapping ID;
the control unit sends a fourth network access request to a processing module of the intelligent terminal; the fourth network access request comprises a target mapping ID, an intelligent terminal ID and a logic channel number; the logic channel number is a third virtual address randomly selected from a preset range, and all the logic channel numbers are not repeated;
the processing module receives a fourth network access request sent by the control unit and creates a logic channel according to the fourth network access request; and the information of successful creation of the logic channel is fed back to the control unit;
the control unit receives the information of successful creation of the logical channel sent by the processing module and acquires the corresponding relation between the logical channel number and the intelligent terminal ID;
the control unit transmits information that the creation of the logical channel is successful to the Host device.
In some embodiments, table 6 is an example table of the correspondence of logical channel numbers and target device IDs; as shown in table 6, when the initiator is a processing module of the smart terminal and the target device is a Host device, a logical channel number corresponding to the Host device ID "0 x 81" of the access location 2 and the smart terminal ID "0 x 01" is 0x 21; when the initiator is a Host device and the target device is a processing module of the smart terminal, the logical channel number corresponding to the Host device ID "0 x 82" and the smart terminal ID "0 x 01" at the access location 3 is 0x 22.
Figure 813895DEST_PATH_IMAGE006
TABLE 6
In some embodiments, referring to fig. 3, an embodiment of the present disclosure provides a Host device communication method for an intelligent terminal, including:
step S301, a processing module of the intelligent terminal sends transmission data carrying a logical channel number to a control unit;
step S302, the control unit receives transmission data which is sent by the processing module and carries a logical channel number; according to the corresponding relation between the logical channel number and the target Host equipment ID, finding the target Host equipment ID and the access position corresponding to the logical channel number;
step S303, the control unit sends the transmission data to the target Host equipment corresponding to the target Host equipment ID according to the access position;
in step S304, the target Host device receives the transmission data sent by the control unit and processes the transmission data.
As shown in fig. 4, an apparatus for assigning a Host device ID according to an embodiment of the present disclosure includes a processor (processor) 100 and a memory (memory) 101 storing program instructions. Optionally, the apparatus may also include a Communication Interface (Communication Interface) 102 and a bus 103. The processor 100, the communication interface 102, and the memory 101 may communicate with each other via a bus 103. The communication interface 102 may be used for information transfer. The processor 100 may call program instructions in the memory 101 to perform the method for assigning a Host device ID of the above-described embodiment.
Further, the program instructions in the memory 101 may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 101, which is a computer-readable storage medium, may be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 100 executes functional applications and data processing, i.e., implements the method for assigning a Host device ID in the above-described embodiments, by executing program instructions/modules stored in the memory 101.
The memory 101 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. In addition, the memory 101 may include a high-speed random access memory, and may also include a nonvolatile memory.
By adopting the device for allocating the Host equipment ID provided by the embodiment of the disclosure, different mapping IDs are allocated to the Host equipment by acquiring the plurality of Host equipment accessed to the Host network. Different mapping addresses are allocated to the Host with the same address, so that the Host devices with the same device ID can access the network simultaneously without generating conflict.
The embodiment of the disclosure provides an electronic device, which comprises the above device for allocating the Host device ID. By acquiring a plurality of Host devices accessed to a Host network, different mapping IDs are allocated to the Host devices. Different mapping addresses are allocated to the Host with the same address, so that the Host devices with the same device ID can access the network simultaneously without generating conflict.
Optionally, the electronic device is a smartphone or a tablet.
In some embodiments, as shown in fig. 5, an embodiment of the present disclosure provides an electronic device for assigning a Host device ID, where the electronic device 1 includes: a processing module 4, a control unit 2 and a plurality of Host devices 3. The plurality of Host devices 3 are respectively connected with the control unit 2, and the control unit 2 is connected with the processing module 4. Optionally, the electronic device is a smartphone. The processing module 4 communicates with each Host device 3 through the control unit 2. Optionally, the control unit: the method includes acquiring a plurality of Host devices accessing a Host network, and assigning different mapping IDs to the Host devices. Optionally, the Host device includes one or more of a SIM Card, an NFC-SD Card, a SE (Secure Element), and a UICC Card (Universal Integrated Circuit Card).
Optionally, the processing module is a processor of the smart phone or tablet, and the control unit is another processor disposed in the smart phone or tablet.
Embodiments of the present disclosure provide a computer-readable storage medium storing computer-executable instructions configured to perform the above-described method for assigning a Host device ID.
Embodiments of the present disclosure provide a computer program product comprising a computer program stored on a computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the above-described method for assigning a Host device ID.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an …" does not exclude the presence of other like elements in a process, method or apparatus that comprises the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by the skilled person that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be merely a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (10)

1. A method for assigning a Host device ID, comprising:
acquiring a plurality of Host devices accessed to a Host network;
different mapping IDs are allocated to the Host devices.
2. The method of claim 1, wherein obtaining a plurality of Host devices for accessing a Host network comprises:
activating Host equipment corresponding to a preset access position to obtain an activation result;
and acquiring a plurality of Host devices accessed to the Host network according to the activation result.
3. The method of claim 2, wherein assigning each of the Host devices a different mapping ID comprises:
acquiring the equipment ID of each Host equipment, and acquiring a mapping list; the mapping list stores the corresponding relation between the mapping ID and the access position;
and distributing each mapping ID to each Host device according to the access position to obtain the corresponding relation between the device ID of each Host device and each mapping ID.
4. The method of claim 3, wherein the mapping ID is a first virtual address that is incremented according to a predetermined rule.
5. The method of claim 4, wherein the first virtual address is incremented in the order of the number of access locations.
6. The method of claim 2, wherein each of the Host devices is assigned a different mapping ID, further comprising:
acquiring the device ID of the Host device corresponding to the activation response under the condition that the activation result is that the activation response is obtained;
and allocating a second virtual address to the Host device corresponding to the activation response, and determining the second virtual address as a mapping ID.
7. The method according to any of claims 3 to 6, wherein after the mapping ID is assigned to the device ID, further comprising:
monitoring the Host equipment to obtain a monitoring result;
and carrying out distribution change of the mapping ID according to the monitoring result.
8. The method of claim 7, wherein changing the allocation of mapping IDs according to the monitoring result comprises:
and under the condition that the Host equipment is not monitored in the monitoring result, canceling the corresponding relation between the equipment ID of the Host equipment which is not monitored and the mapping ID.
9. An apparatus for assigning a Host device ID, comprising a processor and a memory storing program instructions, wherein the processor is configured to perform the method for assigning a Host device ID as claimed in any one of claims 1 to 8 when executing the program instructions.
10. An electronic device comprising the apparatus for assigning a Host device ID as claimed in claim 9.
CN202110316615.5A 2021-03-25 2021-03-25 Method and device for distributing Host equipment ID and electronic equipment Active CN112714438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110316615.5A CN112714438B (en) 2021-03-25 2021-03-25 Method and device for distributing Host equipment ID and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110316615.5A CN112714438B (en) 2021-03-25 2021-03-25 Method and device for distributing Host equipment ID and electronic equipment

Publications (2)

Publication Number Publication Date
CN112714438A true CN112714438A (en) 2021-04-27
CN112714438B CN112714438B (en) 2021-07-09

Family

ID=75550260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110316615.5A Active CN112714438B (en) 2021-03-25 2021-03-25 Method and device for distributing Host equipment ID and electronic equipment

Country Status (1)

Country Link
CN (1) CN112714438B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843264A (en) * 2012-09-21 2012-12-26 中国航空无线电电子研究所 Control method of double hosts in high-speed serial bus network
WO2016086402A1 (en) * 2014-12-05 2016-06-09 华为技术有限公司 Data communication method, apparatus and system
CN107205251A (en) * 2016-03-18 2017-09-26 北京佰才邦技术有限公司 A kind of method of accessing terminal to network, device and terminal
CN108449289A (en) * 2018-03-09 2018-08-24 天津芯海创科技有限公司 A kind of RapidIO switching equipment dynamic management approach and system
CN112653746A (en) * 2020-12-16 2021-04-13 烽火通信科技股份有限公司 Distributed storage method and system for concurrently creating object storage equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843264A (en) * 2012-09-21 2012-12-26 中国航空无线电电子研究所 Control method of double hosts in high-speed serial bus network
WO2016086402A1 (en) * 2014-12-05 2016-06-09 华为技术有限公司 Data communication method, apparatus and system
CN107205251A (en) * 2016-03-18 2017-09-26 北京佰才邦技术有限公司 A kind of method of accessing terminal to network, device and terminal
CN108449289A (en) * 2018-03-09 2018-08-24 天津芯海创科技有限公司 A kind of RapidIO switching equipment dynamic management approach and system
CN112653746A (en) * 2020-12-16 2021-04-13 烽火通信科技股份有限公司 Distributed storage method and system for concurrently creating object storage equipment

Also Published As

Publication number Publication date
CN112714438B (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN110427775B (en) Data query authority control method and device
CN110856126A (en) Information reporting and receiving method, terminal equipment and storage medium
CN107465687B (en) Method, device and terminal for realizing permission configuration
US20170181147A1 (en) Communication method, server and terminal
CN113282580A (en) Method, storage medium and server for executing timed task
CN112966094A (en) Transaction data processing method, device and system
CN106161075B (en) Service processing method, device and system
EP3709687A1 (en) Electronic device and method for managing an ic card with multiple sim profiles
CN112672340A (en) System, method and device for processing operator information
CN112714438B (en) Method and device for distributing Host equipment ID and electronic equipment
CN105303083A (en) Data communication method and wearable device
CN102750493A (en) Access permission control method, access permission control device and access permission control system
CN105160213A (en) Terminal starting method and terminal thereof
CN106411745B (en) Method and device for modifying non-contact front-end chip routing table
CN108667647B (en) Method and device for setting device parameters and server
CN108965093B (en) VLAN (virtual local area network) distribution method and device
CN111132131A (en) Number copying method, terminal and storage medium
CN108090087B (en) File processing method and device
CN116069802A (en) Method, device, electronic equipment and storage medium for accessing database
CN113515387B (en) Data processing method and device and electronic device
CN115766938A (en) Method, device and system for preventing SIM card from being tracked
CN110865848A (en) Component interception method and terminal equipment
CN106028303B (en) Intelligent device discovery method and device
CN113904871A (en) Network slice access method, PCF entity, terminal and communication system
CN112511441A (en) Message processing method and 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
GR01 Patent grant
GR01 Patent grant