CN105900070A - Access isolation method and apparatus - Google Patents

Access isolation method and apparatus Download PDF

Info

Publication number
CN105900070A
CN105900070A CN201480033937.7A CN201480033937A CN105900070A CN 105900070 A CN105900070 A CN 105900070A CN 201480033937 A CN201480033937 A CN 201480033937A CN 105900070 A CN105900070 A CN 105900070A
Authority
CN
China
Prior art keywords
communication pattern
service communication
identifier
mode identifier
mode
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
CN201480033937.7A
Other languages
Chinese (zh)
Other versions
CN105900070B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN105900070A publication Critical patent/CN105900070A/en
Application granted granted Critical
Publication of CN105900070B publication Critical patent/CN105900070B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the present invention provide an access isolation method and apparatus. The access isolation method provided in the embodiments of the present invention comprises: a peripheral device receives a first access instruction corresponding to a channel group configuration space in the peripheral device, the first access instruction comprising an access address of the channel group configuration space and a mode identifier of a service communication mode; the peripheral device verifies the mode identifier of the service communication mode; and if the mode identifier of the service communication mode is valid, the peripheral device accepts access to the channel group configuration space. By means of the embodiments of the present invention, a peripheral device can realize physical isolation on access instructions of different service communication mode, thereby preventing mutual influence caused by abnormal running of concurrent software.

Description

Access partition method and device Technical field
The present embodiments relate to the communication technology, more particularly to a kind of access partition method and device.
Background technology
Needed on the network equipment of the mobile communication of field of wireless communication, the baseband chip of such as inside of base station while running a platform software and the corresponding base band business software of at least two wireless communication modes.Because the function that different base band business softwares is realized may belong to different wireless communication mode or the different common carrier of ownership, to provide safer, reliable traffic services, the isolating for physical access between platform software and base band business software and base band business software just turns into a very important demand.
Current multi-modal baseband chip only in software view by configuring different application programming interfaces (Application Programming Interface, abbreviation API) for concurrent software, realizes the software interface isolation between concurrent software mostly.If however, the API that a certain software is called, because the defect of Software for Design can occur to distort automatically, or the malice of person under attack is distorted, and is occurred software anomaly and is caused the illegal address of physical entity to access, may also result in the misoperation of other software.
However, no matter for peripheral hardware or internal memory, if the access for carrying out concurrent software according only to software interface is isolated, and the software interface breaks down, and just can not realize the isolation between concurrent software.When a software anomaly operation in the concurrent software, other software also misoperation is may result in, i.e., there is influencing each other for misoperation between concurrent software.
The content of the invention
The embodiment of the present invention provides a kind of access partition method and device, to solve to there are problems that influencing each other for misoperation between concurrent software.
In a first aspect, the embodiment of the present invention provides a kind of access partition method, including:
Peripheral hardware receives corresponding first access instruction of passage group configuration space in the peripheral hardware;First access instruction includes:The reference address of the passage group configuration space and the mode identifier of service communication pattern;
The peripheral hardware is verified to the mode identifier of the service communication pattern;
If the mode identifier of the service communication pattern is effectively, the peripheral hardware receives the access to the passage group configuration space.
According in a first aspect, in the first mode in the cards of first aspect, the peripheral hardware is verified to the mode identifier of the service communication pattern, including:
The peripheral hardware is verified according to preset mode identifier to the mode identifier of the service communication pattern;
If the preset mode identifier is identical with the mode identifier of the service communication pattern, the peripheral hardware determines that the mode identifier of the service communication pattern is effective.
According to the first possible implementation of first aspect, in second of mode in the cards, the peripheral hardware is according to preset mode identifier, before being verified to the mode identifier of the service communication pattern, in addition to:
The peripheral hardware receives corresponding second access instruction in management configuration space in the peripheral hardware that the corresponding processor of telecommunication management pattern is sent;Second access instruction includes:The reference address of the passage group configuration space;
The peripheral hardware determines the passage group configuration space according to the reference address of the passage group configuration space, and the passage group configuration space and at least one passage are associated, and configures the preset mode identifier for the passage group configuration space.
According in a first aspect, in the third mode in the cards of first aspect, the peripheral hardware is verified to the mode identifier of the service communication pattern, including:
The peripheral hardware is according to preset mode mark group, and whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group;Wherein, the preset mode mark group includes at least one mode identifier;
If the mode identifier of the service communication pattern is the mark in the preset mode mark group, the peripheral hardware determines that the mode identifier of the service communication pattern is effective.
According to the third mode in the cards of first aspect, in the 4th kind of mode in the cards, it is described it is outer be located at according to preset mode mark group, before whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group, in addition to:
The peripheral hardware receives corresponding 3rd access instruction in management configuration space in the peripheral hardware;3rd access instruction is the instruction that the corresponding processor of telecommunication management pattern is sent, and the 3rd access instruction includes: The reference address of the passage group configuration space;
The peripheral hardware determines the passage group configuration space according to the reference address of the passage group configuration space, and the passage group configuration space and at least one passage are associated, and configures the preset mode mark group for the passage group configuration space.
According to any one in the 4th of first aspect to first aspect the kind of mode in the cards, in the 5th kind of mode in the cards, first access instruction includes:The instruction that the corresponding processor of the service communication pattern is sent;Or,
First access instruction includes:The instruction that other peripheral hardwares are sent.
Second aspect, the embodiment of the present invention provides a kind of access partition method, including:
Internal memory receives the 4th access instruction that peripheral hardware is sent, and the 4th access instruction includes:The packet identifier of the reference address of the internal memory, the mode identifier of service communication pattern and the service communication pattern;
Internal memory mode identifier successively to the service communication pattern and the packet identifier of the service communication pattern are verified;
If the mode identifier of the service communication pattern and the packet identifier of the service communication pattern are effective, the internal memory receives access of the peripheral hardware to the internal memory.
According to second aspect, in the first mode in the cards of second aspect, the packet identifier of internal memory mode identifier successively to the service communication pattern and the service communication pattern is verified, including:
The internal memory is verified according to preset mode identifier to the mode identifier of the service communication pattern;
If the preset mode identifier is identical with the mode identifier of the service communication pattern, the internal memory determines that the mode identifier of the service communication pattern is effective;
If effectively, the internal memory is verified the mode identifier of the service communication pattern according to default packet identifier to the packet identifier of the service communication pattern;
If the default packet identifier is identical with the packet identifier of the service communication pattern, the internal memory determines that the packet identifier of the service communication pattern is effective.
According to the first mode in the cards of second aspect, in second of mode in the cards, before the packet identifier of internal memory mode identifier successively to the service communication pattern and the service communication pattern is verified, in addition to:
The internal memory receives the 5th access instruction that the corresponding processor of telecommunication management pattern is sent;Described Five access instructions include:The reference address of the internal memory;
Memory address section of the internal memory according to belonging to the reference address that the reference address of the internal memory determines the internal memory, and configure the preset mode identifier and the default packet identifier for memory address section.
According to second aspect, in the third mode in the cards of second aspect, the packet identifier of internal memory mode identifier successively to the service communication pattern and the service communication pattern is verified, including:
The internal memory is according to preset mode mark group, and whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group;Wherein, the preset mode mark group includes at least one mode identifier;
If the mode identifier of the service communication pattern is the mark in the preset mode mark group, the internal memory determines that the mode identifier of the service communication pattern is effective;
If the mode identifier of the service communication pattern is effectively, the internal memory is according to default group character group, and whether the packet identifier for judging the service communication pattern is mark in the default group character group;Wherein, the default group character group includes at least one packet identifier;
If the packet identifier of the service communication pattern is the mark in the default group character group, the internal memory determines that the packet identifier of the service communication pattern is effective.
According to the third mode in the cards of second aspect, in the 4th kind of mode in the cards, before the packet identifier of internal memory mode identifier successively to the service communication pattern and the service communication pattern is verified, in addition to:
The internal memory receives the 6th access instruction that the corresponding processor of telecommunication management pattern is sent;6th access instruction includes:The reference address of the internal memory;
Memory address section of the internal memory according to belonging to the reference address that the reference address of the internal memory determines the internal memory, and configure the preset mode mark group and the default group character group for memory address section.
The third aspect, the embodiment of the present invention provides a kind of access isolating device, and the access isolating device is located at peripheral hardware, and the access isolating device includes:Receiving port and correction verification module;Wherein, the receiving port is connected with the correction verification module;
The receiving port, for receiving corresponding first access instruction of passage group configuration space in the peripheral hardware, and first access instruction is sent to the correction verification module;First access instruction includes: The reference address of the passage group configuration space and the mode identifier of service communication pattern;
The correction verification module, is verified for the mode identifier to the service communication pattern, if the mode identifier of the service communication pattern is effectively, receives the access to the passage group configuration space.
According to the third aspect, in the first mode in the cards of the third aspect, the correction verification module, before being additionally operable to verify the mode identifier of the service communication pattern, according to preset mode identifier, the mode identifier of the service communication pattern is verified, if the preset mode identifier is identical with the mode identifier of the service communication pattern, it is determined that the mode identifier of the service communication pattern is effective.
According to the first mode in the cards of the third aspect, in second of mode in the cards, the receiving port, it is additionally operable in the correction verification module according to the preset mode identifier, before being verified to the mode identifier of the service communication pattern, corresponding second access instruction in management configuration space in the peripheral hardware that the corresponding processor of management channel pattern is sent is received;Second access instruction includes:The reference address of the passage group configuration space;
The correction verification module, it is additionally operable to determine the passage group configuration space according to the reference address of the passage group configuration space, the passage group configuration space and at least one passage are associated, and the preset mode identifier is configured for the passage group configuration space.
According to the third aspect, in the third mode in the cards of the third aspect, the correction verification module, it is additionally operable to according to preset mode mark group, whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group, if the mode identifier of the service communication pattern is the mark in the preset mode mark group, it is determined that the mode identifier of the service communication pattern is effective;Wherein, the preset mode mark group includes at least one mode identifier.
According to the third mode in the cards of the third aspect, in the 4th kind of mode in the cards, the receiving port, it is additionally operable in the correction verification module according to the preset mode mark group, before whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group, corresponding 3rd access instruction in management configuration space in the peripheral hardware is received;3rd access instruction is the instruction that the corresponding processor of telecommunication management pattern is sent, and the 3rd access instruction includes:The reference address of the passage group configuration space;
The correction verification module, it is additionally operable to determine the passage group configuration space according to the reference address of the passage group configuration space, the passage group configuration space and at least one passage are associated, and the preset mode mark group is configured for the passage group configuration space.
According to any one in the 4th of the third aspect to the third aspect the kind of mode in the cards, in the 5th kind of mode in the cards, first access instruction includes:The instruction that the corresponding processor of the service communication pattern is sent;Or,
First access instruction includes:The instruction that other peripheral hardwares are sent.
Fourth aspect, the embodiment of the present invention provides a kind of access isolating device, and the access isolating device is located at internal memory;The access isolating device includes:Receiving port, and correction verification module;The receiving port is connected with the correction verification module;
The receiving port, for receiving the 4th access instruction that peripheral hardware is sent, the 4th access instruction includes:The packet identifier of the reference address of the internal memory, the mode identifier of service communication pattern and the service communication pattern;
The correction verification module, verified for mode identifier and the packet identifier of the communication pattern successively to the service communication pattern, if the mode identifier of the service communication pattern and the packet identifier of the service communication pattern are effective, receive access of the peripheral hardware to the internal memory.
According to fourth aspect, in the first mode in the cards of fourth aspect, the correction verification module, it is additionally operable to according to preset mode identifier, the mode identifier of the service communication pattern is verified, if the preset mode identifier is identical with the mode identifier of the service communication pattern, then determine that the mode identifier of the service communication pattern is effective, if the mode identifier of the service communication pattern is effective, according to default packet identifier, the packet identifier of the service communication pattern is verified;If the default packet identifier is identical with the packet identifier of the service communication pattern, it is determined that the packet identifier of the service communication pattern is effective.
According to the first mode in the cards of fourth aspect, in second of mode in the cards, the receiving port, it is additionally operable to before the packet identifier of correction verification module mode identifier successively to the service communication pattern and the service communication pattern is verified, receive the 5th access instruction that the corresponding processor of management communication pattern is sent, the reference address of the internal memory in the 5th access instruction, determine the memory address section belonging to the access of the internal memory, and configure the preset mode identifier and the default packet identifier for memory address section.
According to fourth aspect, in the third mode in the cards of fourth aspect, the correction verification module, it is additionally operable to according to preset mode mark group, whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group, if the mode identifier of the service communication pattern is the mark in the preset mode mark group, it is determined that the mode identifier of the service communication pattern is effective, if described The mode identifier of service communication pattern is effective, then according to default group character group, whether the packet identifier for judging the service communication pattern is mark in the default group character group, if the packet identifier of the service communication pattern is the mark in the default group character group, it is determined that the packet identifier of the service communication pattern is effective;Wherein, the preset mode mark group includes at least one mode identifier;The default group character group includes at least one packet identifier.
According to the third mode in the cards of fourth aspect, in the 4th kind of mode in the cards, the receiving port, it is additionally operable to before the packet identifier of correction verification module mode identifier successively to the service communication pattern and the service communication pattern is verified, receive the 6th access instruction that the corresponding processor of management communication pattern is sent, and the internal storage access address in the 6th access instruction, memory address section according to belonging to the internal storage access address determines the internal storage access address, and configure the preset mode mark group and the default group character group for memory address section.
Access partition method provided in an embodiment of the present invention and device, because peripheral hardware can be verified by the mode identifier of service communication pattern entrained in the access instruction to receiving, only in the case of the mode identifier of the service communication pattern is effective, receive the access to the passage group configuration space, so as to ensure that peripheral hardware is only subjected to the corresponding passage group configuration space of access of the access instruction of different business communication pattern, realize peripheral hardware for the isolation physical isolation of the access instruction of different business communication pattern received, avoid influencing each other for misoperation between concurrent software.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, the required accompanying drawing used in embodiment or description of the prior art will be briefly described below, apparently, drawings in the following description are some embodiments of the present invention, for those of ordinary skill in the art, without having to pay creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
The flow chart for the access partition method that Fig. 1 is provided by the embodiment of the present invention one;
The flow chart for the access partition method that Fig. 2 is provided by the embodiment of the present invention two;
The flow chart for another access partition method that Fig. 3 is provided by the embodiment of the present invention two;
The flow chart for the access partition method that Fig. 4 is provided by the embodiment of the present invention three;
The structural representation for the access isolating device that Fig. 5 is provided by the embodiment of the present invention four;
The structural representation for the access isolating device that Fig. 6 is provided by the embodiment of the present invention five;
A kind of flow chart for access partition method that Fig. 7 is provided by the embodiment of the present invention six;
The flow chart for another access partition method that Fig. 8 is provided by the embodiment of the present invention six;
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made belongs to the scope of protection of the invention.
The flow chart for the access partition method that Fig. 1 is provided by the embodiment of the present invention one.The scheme that the embodiment of the present invention is provided is applied to the network equipment of mobile communication, and the different business communication pattern run on the baseband chip as received by the peripheral hardware of inside of base station is corresponding to access situation about being isolated.Include substrate in inside of base station, the wherein substrate includes:Baseband chip, peripheral hardware and internal memory etc..Wherein, the baseband chip includes at least one processor, its processor can be central processing unit (Central Processing Unit, abbreviation CPU) or Digital Signal Processing (Digital Signal Processing, abbreviation DSP) module.The internal memory for example can be Double Data Rate synchronous DRAM (Double Data Rate Synchronous Dynamic Random Access Memory, abbreviation DDR SDRAM).
The corresponding base band business software of the different business communication pattern can be run on the processor inside the baseband chip, by calling corresponding configuration processor, trigger the corresponding module of the inside of base station and send access instruction to accessed module, so as to realize the mutual access between the inside of base station disparate modules.This method can be performed by access isolating device, and the access isolating device can be located in peripheral hardware.As shown in figure 1, this method specifically include it is as follows:
Step 101, peripheral hardware receive corresponding first access instruction of passage group configuration space in the peripheral hardware;First access instruction includes:The reference address of the passage group configuration space and the mode identifier of service communication pattern.
Specifically, the peripheral hardware is such as can be for the input/output port on inside of base station baseband processing chip, storage, hardware accelerator.The service communication pattern can be wireless access type (Radio Access Type, abbreviation RAT).The RAT for example can be the corresponding access style of different communication network standard in embodiments of the present invention.The different communication standard for example can be with global system for mobile communications (the Global System for Mobile in the second generation (2nd Generation, abbreviation 2G) communication system Communications, abbreviation GSM), CDMA accesses (Code Division Multiple Access, abbreviation CDMA) system, or time division multiple acess access (Time Division Multiple Access, abbreviation TDMA) system, can be with the third generation (3rd Generation, abbreviation 3G) CDMA2000 systems in communication system, WCDMA (Wide band Code Division Multiple Access, abbreviation WCDMA) system or Time division multiple access (Time Division-Synchronous Code Division Multiple Access, abbreviation TD-SCDMA) system, global intercommunication microwave accesses (Worldwide Interoperability for Microwave Access, abbreviation WiMAX) system, also can also be forth generation (4th Generation, abbreviation 4G) communication system or higher level communication system.Wherein, the 4G communication systems can be timesharing Long Term Evolution (Time Division Long Term Evolution, abbreviation TD-LTE) system or FDD Long Term Evolution (Frequency Division Duplexing Long Term Evolution, abbreviation FDD-LTE) system.
Passage group configuration space in the peripheral hardware can according to the service communication pattern that base station is supported number, pre-set space in the peripheral hardware is divided to the space with preset address scope obtained according to the form of address field.At least one corresponding service communication pattern of a passage group configuration space in the peripheral hardware, it has the access of the only acceptable correspondence service communication pattern of passage group configuration space of the preset address scope.
The reference address of the included passage group configuration space can be any address in the address realm corresponding to the passage group configuration space in first access instruction.The mode identifier of included service communication pattern can be RAT marks in first access instruction.RAT marks for example can be the corresponding Virtualization Mode identifier of the service communication pattern (Virtual Mode ID, abbreviation VMID).Assuming that two kinds of service communication patterns are supported in the base station, then at least storage and the corresponding identifier of two kinds of service communication patterns, such as VMID mapping table in the peripheral hardware in this embodiment.The corresponding identifier of two kinds of service communication patterns can be represented by a bit binary number 0 and 1 respectively.Assuming that four kinds of service communication patterns are supported in the base station, then the corresponding identifier of four kinds of service communication patterns in this embodiment, dibit word 00,01,10 and 11 can be passed through respectively and represented.
First access instruction that the peripheral hardware can for example be received by its internal signaling receiving port.The signaling receiving port for example can be in the peripheral hardware from interface, it is corresponding, main interface is at least also included in the peripheral hardware, access instruction is sent for other modules into the base station or structure.
Step 102, the peripheral hardware are verified to the mode identifier of the service communication pattern.
Specifically, the peripheral hardware is verified to the mode identifier of the service communication pattern, can be the mapping table according to default service communication pattern and mode identifier, to being wrapped in first access instruction The mode identifier of the service communication pattern included is verified, so as to judge whether the passage group configuration space is the corresponding configuration space of the service communication pattern.
If the mode identifier of step 103, the service communication pattern is effectively, the peripheral hardware receives the access to the passage group configuration space.
Specifically, the mode identifier of the service communication pattern is effective, that is to say, that the passage group configuration space is the corresponding configuration space of service communication pattern, thus, the peripheral hardware receives the access to the passage group configuration space, i.e. the peripheral hardware allows first access instruction to access the passage group configuration space.For service communication pattern mode identifier it is invalid in the case of, that is, the passage group configuration space not corresponding configuration space of service communication pattern, thus the peripheral hardware need to refuse first access instruction and access the passage group configuration space, concurrently malfunction false alarm.
In access partition method provided in an embodiment of the present invention, because peripheral hardware can be verified by the mode identifier of service communication pattern entrained in the access instruction to receiving, only in the case of the mode identifier of the service communication pattern is effective, receive the access to the passage group configuration space of the peripheral hardware, so as to ensure that peripheral hardware can only allow the corresponding passage group configuration space of the access of the access instruction of different business communication pattern, realize peripheral hardware for the isolation physical isolation of the access instruction of different business communication pattern received, avoid influencing each other for misoperation between concurrent software.
Embodiment two
The embodiment of the present invention also provides a kind of access partition method.The flow chart for the access partition method that Fig. 2 is provided by the embodiment of the present invention two.As shown in Fig. 2 the access partition method that the embodiment is provided is on the basis of above-described embodiment methods described, wherein step 102 peripheral hardware is verified to the mode identifier of the service communication pattern, can be included:
Step 201, the peripheral hardware are verified according to preset mode identifier to the mode identifier of the service communication pattern.
If step 202, the preset mode identifier are identical with the mode identifier of the service communication pattern, the peripheral hardware determines that the mode identifier of the service communication pattern is effective.
If specifically, passage group configuration space one service communication pattern of correspondence in peripheral hardware, the preset mode identifier is the corresponding mode identifier of a service communication pattern.Thus, the peripheral hardware is according to mode identifier of the preset mode identifier to service communication pattern, that is, mode identifier included in first access instruction is verified.Whether the peripheral hardware for example can be identical with the mode identifier of the service communication pattern by comparing the preset mode identifier, so as to realize the mould to the service communication pattern Formula identifier is verified.If the preset mode identifier is identical with the mode identifier of the service communication pattern, the peripheral hardware can determine that the mode identifier of the service communication pattern effectively, corresponding, if it is different, then the peripheral hardware can determine that the mode identifier of the service communication pattern is invalid.
Optionally, in the peripheral hardware of above-mentioned steps 201 according to preset mode identifier, before being verified to the mode identifier of the service communication pattern, this method also includes:
Step 201a, the peripheral hardware receive corresponding second access instruction in management configuration space in the peripheral hardware that the corresponding processor of telecommunication management pattern is sent;Second access instruction includes:The reference address of the passage group configuration space.
Specifically, the telecommunication management pattern can be the operational management platform of the corresponding base band business software of the service communication, and the operational management platform can provide the operating system platform of operation for the corresponding base band business software of the service communication pattern.
The corresponding processor of telecommunication management pattern, any processor on baseband chip that can be run for the corresponding platform software of telecommunication management pattern, such as CPU.
Management configuration space in the peripheral hardware for example can be the corresponding space with preset address scope of the telecommunication management pattern in the peripheral hardware.The peripheral hardware only allows the corresponding access instruction of telecommunication management pattern to conduct interviews the management configuration space, that is to say, that at least also include in second access instruction:The corresponding reference address in management configuration space.
Step 201b, the peripheral hardware determine the passage group configuration space according to the reference address of the passage group configuration space, and the passage group configuration space and at least one passage are associated, and configure the preset mode identifier for the passage group configuration space.
Specifically, different passages can be to realize the structure or module of different functions in peripheral hardware.The passage group configuration space and at least one passage are associated, that is, the passage group configuration space is divided at least one address field to corresponding address realm, wherein, different address section can be corresponding from different passages respectively, to access some address in the passage group configuration space, corresponding function can be realized by the corresponding passage in the address.Passage group configuration space is associated by the peripheral hardware with least one passage, can be by setting up the mapping table of passage group configuration space and passage group in peripheral side, passage group configuration space correspondence at least one passage in the mapping table.The peripheral hardware also assembles for the passage and puts the preset mode identifier simultaneously, that is, at least one passage in this embodiment scheme in same passage group configuration space has one mode identifier of identical, an a kind of service communication pattern of mode identifier correspondence.
The present embodiment also provides a kind of alternative access isolation scheme.The flow chart for another access partition method that Fig. 3 is provided by the embodiment of the present invention two.As shown in figure 3, the access partition method that the embodiment is provided is on the basis of above-described embodiment methods described, wherein step 102 peripheral hardware is verified to the mode identifier of the service communication pattern, can also be including:
Step 301, the peripheral hardware are according to preset mode mark group, and whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group;Wherein, the preset mode mark group includes at least one mode identifier.
If the mode identifier of step 302, the service communication pattern is the mark in the preset mode mark group, the peripheral hardware determines that the mode identifier of the service communication pattern is effective.
Specifically, if one service communication pattern of passage group configuration space correspondence in peripheral hardware, at least one mode identifier included by the preset mode mark group, to should a service communication pattern.The peripheral hardware is according to the preset mode mark group, and whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group, can be that the mode identifier of the service communication pattern is retrieved in the preset mode mark group.If can retrieve, the mode identifier of the service communication pattern is the mark in the preset mode mark group, i.e. the mode identifier of the service communication pattern is effective.Corresponding, if not retrieving, the mode identifier of the service communication pattern is invalid.
Optionally, in above-mentioned steps 301 this it is outer be located at according to preset mode mark group, before whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group, this method also includes:
Step 301a, the peripheral hardware receive corresponding 3rd access instruction in management configuration space in the peripheral hardware;3rd access instruction is the instruction that the corresponding processor of telecommunication management pattern is sent, and the 3rd access instruction includes:The reference address of the passage group configuration space.
Step 301b, the peripheral hardware determine the passage group configuration space according to the reference address of the passage group configuration space, and the passage group configuration space and at least one passage are associated, and configure the preset mode mark group for the passage group configuration space.
Specifically, scheme that this is verified according to preset mode mark group is similar with the above-mentioned scheme according to the verification of preset mode identifier, wherein, step 301b is similar with above-mentioned steps 302b, differ only in and configure the preset mode mark group for the passage group configuration space, that is, configure at least one mode identifier.
On the basis of embodiment scheme as described above, further, first access instruction includes:Should The instruction that the corresponding processor of service communication pattern is sent.
Specifically, the corresponding processor of service communication pattern, at least one processor on baseband chip that can be run for the corresponding base band business software of the service communication pattern, wherein, each processor to should one kind of service communication pattern realize function.First access instruction includes the instruction that the corresponding processor of service communication pattern is sent, that is to say, that the embodiment of the present invention can access processor the isolation of the different business communication pattern of passage configuration space in peripheral hardware.
Alternately, first access instruction includes:The instruction that other peripheral hardwares are sent.
Specifically, if first access instruction includes the instruction that sends of other peripheral hardwares, then the isolation that the embodiment of the present invention can also be to the different business communication pattern of passage group configuration space in other peripheral access peripheral hardwares.
The embodiment of the present invention, by the verification of the mode identifiers of two kinds of different service communication patterns, there is provided a variety of achievable schemes for accessing partition method.Simultaneously because first access instruction includes the instruction that the corresponding processor of service communication pattern is sent, or the instruction that other peripheral hardwares are sent, thus this embodiment scheme may also provide the communication pattern isolation scheme mutually accessed between a variety of different physical arrangements, and the applicability of the access isolation scheme is wider.
Embodiment three
The embodiment of the present invention three also provides a kind of access partition method.This method can be performed by access isolating device, and the access isolating device can be located in internal memory.The flow chart for the access partition method that Fig. 4 is provided by the embodiment of the present invention three.As shown in figure 4, this method specifically may include following steps:
Step 401, internal memory receive the 4th access instruction that peripheral hardware is sent, and the 4th access instruction includes:The packet identifier of the reference address of the internal memory, the mode identifier of service communication pattern and the service communication pattern.
Specifically, the peripheral hardware includes at least one corresponding passage group of the service communication pattern, wherein, each passage group to should one kind of service communication pattern realize function.The internal memory combines the 4th access instruction received in the step 401, then the instruction that can be sent for the peripheral hardware.If the peripheral hardware need to access the internal memory, to realize the preset function of default communication pattern, then need to include in the 4th access instruction:The packet identifier of the mode identifier of service communication pattern and the service communication pattern.
Wherein, the mode identifier of the service communication pattern can be the Virtualization Mode identifier described in above-described embodiment, will not be repeated here.The packet identifier (Group ID) of the service communication pattern can be according to the corresponding mark of function of the required realization of the service communication pattern.The packet identifier can pass through The mark or configured information of the function are represented, can also be identified and represented by preset address, and preset address mark is corresponding with the function of being realized needed for the service communication pattern.
Step 402, the internal memory mode identifier successively to the service communication pattern and the packet identifier of the service communication pattern are verified.
If the packet identifier of step 403, the mode identifier of the service communication pattern and the service communication pattern is effective, the internal memory receives access of the peripheral hardware to the internal memory.
Specifically, the internal memory is verified to the mode identifier of the service communication pattern, really verify the internal memory included by the 4th access instruction reference address whether be corresponding to the service communication pattern preset address section.The internal memory is verified to the packet identifier of service communication pattern, and whether the reference address for really verifying the internal memory included by the 4th access instruction is to realize a certain preset address section realized corresponding to function in the service communication pattern.Thus, the internal memory is verified to the mode identifier and packet identifier of the service communication pattern successively, the verification of service communication pattern really is carried out to the reference address of the internal memory, on this basis, the verification of the corresponding function of the service communication pattern is carried out herein.The embodiment scheme is only in the case of the mode identifier of the service communication pattern and the packet identifier of the service communication pattern are effective, and the internal memory just receives the reference address that the 4th access instruction accesses the internal memory.If it is not, then the internal memory refuses the reference address that the 4th access instruction accesses the internal memory, concurrently malfunction false alarm.
This embodiment scheme, the mode identifier and packet identifier of the service communication pattern included successively to the access instruction that the peripheral hardware received is sent by internal memory are verified, only in the case of the mode identifier and the packet identifier are effective, receive access of the peripheral hardware to the internal memory, on the basis of isolation of the peripheral hardware to the service communication pattern of internal storage access is ensured, the isolation that function is more become more meticulous can also be realized for the service communication pattern, it is to avoid misoperation influences each other between concurrent software.
On the basis of above-described embodiment scheme, further, internal memory mode identifier successively to the service communication pattern and the packet identifier of the service communication pattern are verified wherein in step 402, can specifically be included:
The internal memory is verified according to preset mode identifier to the mode identifier of the service communication pattern.
If the preset mode identifier is identical with the mode identifier of the service communication pattern, the internal memory determines that the mode identifier of the service communication pattern is effective.
If effectively, the internal memory is verified the mode identifier of the service communication pattern according to default packet identifier to the packet identifier of the service communication pattern.
If the default packet identifier is identical with the packet identifier of the service communication pattern, the internal memory is true The packet identifier of the fixed service communication pattern is effective.
Specifically, the verification of the internal memory successively to the mode identifier and packet identifier of the service communication pattern, it can be the mode identifier for first verifying the service communication pattern, in the case of the mode identifier of the service communication pattern is effective, the verification of the packet identifier of the service communication pattern is carried out again, now, if the packet identifier of the service communication pattern is effective, the internal memory can determine that the mode identifier and packet identifier of the service communication pattern are effective.
Optionally, before internal memory mode identifier successively to the service communication pattern and the packet identifier of the service communication pattern are verified in step 402, in addition to:
The internal memory receives the 5th access instruction that the corresponding processor of telecommunication management pattern is sent;5th access instruction includes:The reference address of the internal memory.
Memory address section of the internal memory according to belonging to the reference address of the internal memory determines the reference address of the internal memory, and configure the preset mode identifier and the default packet identifier for memory address section.
Specifically, the internal memory includes at least one memory group, and each memory group includes at least one memory address section, and a kind of one kind of service communication pattern of each memory address section correspondence realizes function.Actually, each memory group is also to exist in the form of address field, simply the address realm of the address field included by the memory group is less than the address realm of the address field of the internal memory, that is to say, that the address realm of the address field of the memory group belongs in the address realm of the address field of internal memory.
The 5th access instruction that the internal memory is sent according to the corresponding processor of telecommunication management pattern received, configure the preset mode identifier to the memory address section in the internal memory and the default packet identifier is really that different memory address sections and the service communication pattern and the service communication pattern are realized into function is associated so that the i.e. achievable corresponding service communication pattern of access of the memory address section of the internal memory realizes function.
Alternately, internal memory mode identifier successively to the service communication pattern and the packet identifier of the service communication pattern are verified in the step 402 of such scheme, can be included:
The internal memory is according to preset mode mark group, and whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group;Wherein, the preset mode mark group includes at least one mode identifier.
If the mode identifier of the service communication pattern is the mark in the preset mode mark group, the internal memory determines that the mode identifier of the service communication pattern is effective.
If the service communication pattern mode identifier effectively, the internal memory according to default group character group, Whether the packet identifier for judging the service communication pattern is mark in the default group character group;Wherein, the default group character group includes at least one packet identifier.
If the packet identifier of the service communication pattern is the mark in the default group character group, the internal memory determines that the packet identifier of the service communication pattern is effective.
Specifically, the internal memory is implemented in process and above-described embodiment according to what preset mode mark group and default group character group were verified to the mode identifier of the service communication pattern and the packet identifier of the service communication pattern included in the 5th access instruction, verification of the peripheral hardware to the mode identifier of the service communication pattern in first access instruction is similar, it is differed only in, in the case of in this embodiment scheme, the interior identifier that there is the service communication pattern is effective, also need the packet identifier of the verification service communication pattern, its similar portion will not be repeated here.
Further right, before the packet identifier of the internal memory of this in the step 402 of such scheme mode identifier successively to the service communication pattern and the service communication pattern is verified, this method may also include:
The internal memory receives the 6th access instruction that the corresponding processor of telecommunication management pattern is sent;6th access instruction includes:The reference address of the internal memory.
Memory address section of the internal memory according to belonging to the reference address of the internal memory determines the reference address of the internal memory, and configure the preset mode mark group and the default group character group for memory address section.
The access partition method that the embodiment of the present invention is provided, the mode identifier and packet identifier for the service communication pattern that can be included successively to the access instruction that the corresponding passage group of service communication pattern in the peripheral hardware that receives is sent by internal memory are verified, only in the case of the mode identifier and the packet identifier are effective, receive access of the peripheral hardware to the internal memory, on the basis of isolation of the peripheral hardware to the service communication pattern of internal storage access is ensured, the isolation that function is more become more meticulous can also be realized for the service communication pattern, avoid the related phenomenon of misoperation between concurrent software.This embodiment scheme is also provided by the method that a variety of internal memories are verified to the mode identifier and packet identifier of the service communication pattern simultaneously, there is provided a variety of implementations of access partition method, so as to which effective physical isolation of the internal memory for the corresponding access instruction of difference in functionality of service communication pattern is better achieved, it is ensured that the normal operation of concurrent software.
Example IV
The embodiment of the present invention four provides a kind of access isolating device, and the access isolating device can be located at peripheral hardware.The structural representation for the access isolating device that Fig. 5 is provided by the embodiment of the present invention four.
As shown in figure 5, the access isolating device 500 includes:Receiving port 501 and correction verification module 502.Wherein receiving port 501 is connected with correction verification module 502.
Specifically, receiving port 501 can be the peripheral hardware from interface.
Receiving port 501, for receiving corresponding first access instruction of passage group configuration space in peripheral hardware, and first access instruction is sent to correction verification module 502.First access instruction includes:The reference address of the passage group configuration space and the mode identifier of service communication pattern.
Correction verification module 502, is verified for the mode identifier to the service communication pattern, if the mode identifier of the service communication pattern is effectively, receives the access to the passage group configuration space.
Optionally, above-mentioned correction verification module 502, before being additionally operable to verify the mode identifier of the service communication pattern, according to preset mode identifier, the mode identifier of the service communication pattern is verified, if the preset mode identifier is identical with the mode identifier of the service communication pattern, it is determined that the mode identifier of the service communication pattern is effective.
Optionally, receiving port 501, it is additionally operable in correction verification module 502 according to the preset mode identifier, before being verified to the mode identifier of the service communication pattern, receives corresponding second access instruction in management configuration space in the peripheral hardware that the corresponding processor of management channel pattern is sent;Second access instruction includes:The reference address of the passage group configuration space.
Correction verification module 502, is additionally operable to determine the passage group configuration space according to the reference address of the passage group configuration space, the passage group configuration space and at least one passage is associated, and configures the preset mode identifier for the passage group configuration space.
Alternately, correction verification module 502, it is additionally operable to according to preset mode mark group, whether the mode identifier for judging the service communication pattern is the corresponding mark of preset mode mark group, if the mode identifier of the service communication pattern is the mark in the preset mode mark group, it is determined that the mode identifier of the service communication pattern is effective;Wherein, the preset mode mark group includes at least one mode identifier.
Optionally, wherein receiving port 501, it is additionally operable in correction verification module 502 according to the preset mode mark group, before whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group, receives corresponding 3rd access instruction in management configuration space in the peripheral hardware;3rd access instruction is the instruction that the corresponding processor of telecommunication management pattern is sent, and the 3rd access instruction includes:The reference address of the passage group configuration space.
Correction verification module 502, is additionally operable to determine the passage group configuration space according to the reference address of the passage group configuration space, the passage group configuration space and at least one passage is associated, and configures the preset mode mark group for the passage group configuration space;The preset mode mark group includes at least one mode identifier.
Further, first access instruction in such scheme includes:The service communication pattern is corresponding The instruction that processor is sent;Or,
First access instruction includes:The instruction that other peripheral hardwares are sent.
The access partition method described in the executable above-described embodiment one of access isolating device or embodiment two that the present embodiment is provided, its concrete implementation process and beneficial effect are similar with above-described embodiment one or embodiment two, will not be repeated here.
Embodiment five
The embodiment of the present invention five also provides a kind of access isolating device.The structural representation for the access isolating device that Fig. 6 is provided by the embodiment of the present invention five.As shown in fig. 6, the access isolating device 600 is located at internal memory.The access isolating device 600 includes:Receiving port 601, and correction verification module 602;Receiving port 601 is connected with correction verification module 602.
Receiving port 601, for receiving the 4th access instruction that peripheral hardware is sent, the 4th access instruction includes:The packet identifier of the reference address of the internal memory, the mode identifier of service communication pattern and the service communication pattern.
Correction verification module 602, verified for mode identifier and the packet identifier of the communication pattern successively to the service communication pattern, if the mode identifier of the service communication pattern and the packet identifier of the service communication pattern are effective, receive access of the peripheral hardware to the internal memory.
Further, above-mentioned correction verification module 602, it is additionally operable to according to preset mode identifier, the mode identifier of the service communication pattern is verified, if the preset mode identifier is identical with the mode identifier of the service communication pattern, it is determined that the mode identifier of the service communication pattern is effective, if the mode identifier of the service communication pattern is effective, according to default packet identifier, the packet identifier of the service communication pattern is verified;If the default packet identifier is identical with the packet identifier of the service communication pattern, it is determined that the packet identifier of the service communication pattern is effective.
Optionally, above-mentioned receiving port 601, it is additionally operable to before the packet identifier of the mode identifier successively to the service communication pattern of correction verification module 602 and the service communication pattern is verified, receive the 5th access instruction that the corresponding processor of management communication pattern is sent, the reference address of the internal memory in the 5th access instruction, the memory address section belonging to the access of the internal memory is determined, and the preset mode identifier and the default packet identifier are configured for memory address section.
Alternately, wherein correction verification module 602, it is additionally operable to according to preset mode mark group, whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group, if the mode identifier of the service communication pattern is the mark in the preset mode mark group, it is determined that the service communication pattern Mode identifier is effective, if the mode identifier of the service communication pattern is effective, then according to default group character group, whether the packet identifier for judging the service communication pattern is mark in the default group character group, if the packet identifier of the service communication pattern is the mark in the default group character group, it is determined that the packet identifier of the service communication pattern is effective.Wherein, the preset mode mark group includes at least one mode identifier;The default group character group includes at least one packet identifier.
Optionally, above-mentioned receiving port 601, it is additionally operable to before the packet identifier of the mode identifier successively to the service communication pattern of correction verification module 602 and the service communication pattern is verified, receive the 6th access instruction that the corresponding processor of telecommunication management pattern is sent, and the internal storage access address in the 6th access instruction, memory address section according to belonging to the internal storage access address determines the internal storage access address, and configure the preset mode mark group and the default group character group for memory address section.
The access isolating device that the present embodiment is provided can perform the access partition method described in above-described embodiment three, and its concrete implementation process and beneficial effect are similar with above-described embodiment three, will not be repeated here.
Embodiment six
The embodiment of the present invention also provides a kind of access partition method.The scheme of above-described embodiment one or embodiment two is specifically described by specific example for the present embodiment.A kind of flow chart for access partition method that Fig. 7 is provided by the embodiment of the present invention six.As shown in fig. 7, this method can include:
Step 701, peripheral hardware receive corresponding first access instruction of passage group configuration space in the peripheral hardware;First access instruction includes:The reference address of the passage group configuration space and the mode identifier of service communication pattern.
Wherein, the instruction that first access instruction can send for the corresponding processor of service communication pattern;Or, the instruction that his peripheral hardware is sent.
Step 702, the peripheral hardware receive corresponding second access instruction in management configuration space in the peripheral hardware that the corresponding processor of telecommunication management pattern is sent;Second access instruction includes:The reference address of the passage group configuration space.
Step 703, the peripheral hardware determine the passage group configuration space according to the reference address of the passage group configuration space, and the passage group configuration space and at least one passage are associated, and configure the preset mode identifier for the passage group configuration space.
Step 704, the peripheral hardware are verified according to preset mode identifier to the mode identifier of the service communication pattern.
If step 705, the preset mode identifier are identical with the mode identifier of the service communication pattern, Then the peripheral hardware determines that the mode identifier of the service communication pattern is effective.
If the mode identifier of step 706, the service communication pattern is effectively, the peripheral hardware receives the access to the passage group configuration space.
The access partition method that this embodiment scheme is provided above-described embodiment one or embodiment two by instantiation is illustrated, the access isolating device that can be provided by above-described embodiment four is performed, its concrete implementation process and beneficial effect are similar to the above embodiments, will not be repeated here.
The present embodiment also provides a kind of access partition method.The access partition method that this method is provided above-described embodiment three by specific example is illustrated.The flow chart for another access partition method that Fig. 8 is provided by the embodiment of the present invention six.As shown in figure 8, this method may include:
Step 801, internal memory receive the 4th access instruction that peripheral hardware is sent, and the 4th access instruction includes:The packet identifier of the reference address of the internal memory, the mode identifier of service communication pattern and the service communication pattern.
Step 802, the internal memory receive the 5th access instruction that the corresponding processor of telecommunication management pattern is sent;5th access instruction includes:The reference address of the internal memory.
The memory address section of step 803, the internal memory according to belonging to the reference address of the internal memory determines the reference address of the internal memory, and configure the preset mode identifier and the default packet identifier for memory address section.
Step 804, the internal memory are verified according to preset mode identifier to the mode identifier of the service communication pattern.
If step 805, the preset mode identifier are identical with the mode identifier of the service communication pattern, the internal memory determines that the mode identifier of the service communication pattern is effective.
If effectively, the internal memory is verified the mode identifier of step 806, the service communication pattern according to default packet identifier to the packet identifier of the service communication pattern.
If step 807, the default packet identifier are identical with the packet identifier of the service communication pattern, the internal memory determines that the packet identifier of the service communication pattern is effective.
If the packet identifier of step 808, the mode identifier of the service communication pattern and the service communication pattern is effective, the internal memory receives access of the peripheral hardware to the internal memory.
The access partition method that this embodiment scheme is provided above-described embodiment three by instantiation is illustrated, the access isolating device that can be provided by above-described embodiment five is performed, its concrete implementation process and beneficial effect are similar to the above embodiments, will not be repeated here.
One of ordinary skill in the art will appreciate that:Realize all or part of step of above method embodiment It can be completed by the related hardware of programmed instruction, foregoing program can be stored in a computer read/write memory medium, the program upon execution, performs the step of including above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although the present invention is described in detail with reference to foregoing embodiments, it will be understood by those within the art that:It can still modify to the technical scheme described in foregoing embodiments, or carry out equivalent substitution to which part or all technical characteristic;And these modifications or replacement, the essence of appropriate technical solution is departed from the scope of various embodiments of the present invention technical scheme.

Claims (22)

  1. One kind accesses partition method, it is characterised in that including:
    Peripheral hardware receives corresponding first access instruction of passage group configuration space in the peripheral hardware;First access instruction includes:The reference address of the passage group configuration space and the mode identifier of service communication pattern;
    The peripheral hardware is verified to the mode identifier of the service communication pattern;
    If the mode identifier of the service communication pattern is effectively, the peripheral hardware receives the access to the passage group configuration space.
  2. According to the method described in claim 1, it is characterised in that the peripheral hardware is verified to the mode identifier of the service communication pattern, including:
    The peripheral hardware is verified according to preset mode identifier to the mode identifier of the service communication pattern;
    If the preset mode identifier is identical with the mode identifier of the service communication pattern, the peripheral hardware determines that the mode identifier of the service communication pattern is effective.
  3. Method according to claim 2, it is characterised in that the peripheral hardware is according to preset mode identifier, before being verified to the mode identifier of the service communication pattern, in addition to:
    The peripheral hardware receives corresponding second access instruction in management configuration space in the peripheral hardware that the corresponding processor of telecommunication management pattern is sent;Second access instruction includes:The reference address of the passage group configuration space;
    The peripheral hardware determines the passage group configuration space according to the reference address of the passage group configuration space, and the passage group configuration space and at least one passage are associated, and configures the preset mode identifier for the passage group configuration space.
  4. According to the method described in claim 1, it is characterised in that the peripheral hardware is verified to the mode identifier of the service communication pattern, including:
    The peripheral hardware is according to preset mode mark group, and whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group;Wherein, the preset mode mark group includes at least one mode identifier;
    If the mode identifier of the service communication pattern is the mark in the preset mode mark group, the peripheral hardware determines that the mode identifier of the service communication pattern is effective.
  5. Method according to claim 4, it is characterised in that be located at outside described according to preset mode Mark group, before whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group, in addition to:
    The peripheral hardware receives corresponding 3rd access instruction in management configuration space in the peripheral hardware;3rd access instruction is the instruction that the corresponding processor of telecommunication management pattern is sent, and the 3rd access instruction includes:The reference address of the passage group configuration space;
    The peripheral hardware determines the passage group configuration space according to the reference address of the passage group configuration space, and the passage group configuration space and at least one passage are associated, and configures the preset mode mark group for the passage group configuration space.
  6. Method according to any one of claim 1-5, it is characterised in that first access instruction includes:The instruction that the corresponding processor of the service communication pattern is sent;Or,
    First access instruction includes:The instruction that other peripheral hardwares are sent.
  7. One kind accesses partition method, it is characterised in that including:
    Internal memory receives the 4th access instruction that peripheral hardware is sent, and the 4th access instruction includes:The packet identifier of the reference address of the internal memory, the mode identifier of service communication pattern and the service communication pattern;
    Internal memory mode identifier successively to the service communication pattern and the packet identifier of the service communication pattern are verified;
    If the mode identifier of the service communication pattern and the packet identifier of the service communication pattern are effective, the internal memory receives access of the peripheral hardware to the internal memory.
  8. Method according to claim 7, it is characterised in that internal memory mode identifier successively to the service communication pattern and the packet identifier of the service communication pattern are verified, including:
    The internal memory is verified according to preset mode identifier to the mode identifier of the service communication pattern;
    If the preset mode identifier is identical with the mode identifier of the service communication pattern, the internal memory determines that the mode identifier of the service communication pattern is effective;
    If effectively, the internal memory is verified the mode identifier of the service communication pattern according to default packet identifier to the packet identifier of the service communication pattern;
    If the default packet identifier is identical with the packet identifier of the service communication pattern, the internal memory determines that the packet identifier of the service communication pattern is effective.
  9. Method according to claim 8, it is characterised in that before internal memory mode identifier successively to the service communication pattern and the packet identifier of the service communication pattern are verified, also Including:
    The internal memory receives the 5th access instruction that the corresponding processor of telecommunication management pattern is sent;5th access instruction includes:The reference address of the internal memory;
    Memory address section of the internal memory according to belonging to the reference address that the reference address of the internal memory determines the internal memory, and configure the preset mode identifier and the default packet identifier for memory address section.
  10. Method according to claim 7, it is characterised in that internal memory mode identifier successively to the service communication pattern and the packet identifier of the service communication pattern are verified, including:
    The internal memory is according to preset mode mark group, and whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group;Wherein, the preset mode mark group includes at least one mode identifier;
    If the mode identifier of the service communication pattern is the mark in the preset mode mark group, the internal memory determines that the mode identifier of the service communication pattern is effective;
    If the mode identifier of the service communication pattern is effectively, the internal memory is according to default group character group, and whether the packet identifier for judging the service communication pattern is mark in the default group character group;Wherein, the default group character group includes at least one packet identifier;
    If the packet identifier of the service communication pattern is the mark in the default group character group, the internal memory determines that the packet identifier of the service communication pattern is effective.
  11. Method according to claim 10, it is characterised in that before internal memory mode identifier successively to the service communication pattern and the packet identifier of the service communication pattern are verified, in addition to:
    The internal memory receives the 6th access instruction that the corresponding processor of telecommunication management pattern is sent;6th access instruction includes:The reference address of the internal memory;
    Memory address section of the internal memory according to belonging to the reference address that the reference address of the internal memory determines the internal memory, and configure the preset mode mark group and the default group character group for memory address section.
  12. One kind accesses isolating device, it is characterised in that the access isolating device is located at peripheral hardware, and the access isolating device includes:Receiving port and correction verification module;Wherein, the receiving port is connected with the correction verification module;
    The receiving port, is accessed for receiving the passage group configuration space in the peripheral hardware corresponding first Instruction, and first access instruction is sent to the correction verification module;First access instruction includes:The reference address of the passage group configuration space and the mode identifier of service communication pattern;
    The correction verification module, is verified for the mode identifier to the service communication pattern, if the mode identifier of the service communication pattern is effectively, receives the access to the passage group configuration space.
  13. Device according to claim 12, it is characterised in that
    The correction verification module, before being additionally operable to verify the mode identifier of the service communication pattern, according to preset mode identifier, the mode identifier of the service communication pattern is verified, if the preset mode identifier is identical with the mode identifier of the service communication pattern, it is determined that the mode identifier of the service communication pattern is effective.
  14. Device according to claim 13, it is characterised in that
    The receiving port, it is additionally operable in the correction verification module according to the preset mode identifier, before being verified to the mode identifier of the service communication pattern, corresponding second access instruction in management configuration space in the peripheral hardware that the corresponding processor of management channel pattern is sent is received;Second access instruction includes:The reference address of the passage group configuration space;
    The correction verification module, it is additionally operable to determine the passage group configuration space according to the reference address of the passage group configuration space, the passage group configuration space and at least one passage are associated, and the preset mode identifier is configured for the passage group configuration space.
  15. Device according to claim 12, it is characterised in that
    The correction verification module, it is additionally operable to according to preset mode mark group, whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group, if the mode identifier of the service communication pattern is the mark in the preset mode mark group, it is determined that the mode identifier of the service communication pattern is effective;Wherein, the preset mode mark group includes at least one mode identifier.
  16. Device according to claim 15, it is characterised in that
    The receiving port, it is additionally operable in the correction verification module according to the preset mode mark group, before whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group, corresponding 3rd access instruction in management configuration space in the peripheral hardware is received;3rd access instruction is the instruction that the corresponding processor of telecommunication management pattern is sent, and the 3rd access instruction includes:The reference address of the passage group configuration space;
    The correction verification module, is additionally operable to determine the passage group configuration space according to the reference address of the passage group configuration space, the passage group configuration space and at least one passage is associated, and be described Passage group configuration space configures the preset mode mark group.
  17. Device according to any one of claim 12-16, it is characterised in that first access instruction includes:The instruction that the corresponding processor of the service communication pattern is sent;Or,
    First access instruction includes:The instruction that other peripheral hardwares are sent.
  18. One kind accesses isolating device, it is characterised in that the access isolating device is located at internal memory;The access isolating device includes:Receiving port, and correction verification module;The receiving port is connected with the correction verification module;
    The receiving port, for receiving the 4th access instruction that peripheral hardware is sent, the 4th access instruction includes:The packet identifier of the reference address of the internal memory, the mode identifier of service communication pattern and the service communication pattern;
    The correction verification module, verified for mode identifier and the packet identifier of the communication pattern successively to the service communication pattern, if the mode identifier of the service communication pattern and the packet identifier of the service communication pattern are effective, receive access of the peripheral hardware to the internal memory.
  19. Device according to claim 18, it is characterised in that
    The correction verification module, it is additionally operable to according to preset mode identifier, the mode identifier of the service communication pattern is verified, if the preset mode identifier is identical with the mode identifier of the service communication pattern, then determine that the mode identifier of the service communication pattern is effective, if the mode identifier of the service communication pattern is effectively, according to default packet identifier, the packet identifier of the service communication pattern is verified;If the default packet identifier is identical with the packet identifier of the service communication pattern, it is determined that the packet identifier of the service communication pattern is effective.
  20. Device according to claim 19, it is characterised in that
    The receiving port, it is additionally operable to before the packet identifier of correction verification module mode identifier successively to the service communication pattern and the service communication pattern is verified, receive the 5th access instruction that the corresponding processor of management communication pattern is sent, the reference address of the internal memory in the 5th access instruction, the memory address section belonging to the access of the internal memory is determined, and the preset mode identifier and the default packet identifier are configured for memory address section.
  21. Device according to claim 18, it is characterised in that
    The correction verification module, it is additionally operable to according to preset mode mark group, whether the mode identifier for judging the service communication pattern is mark in the preset mode mark group, if the mode identifier of the service communication pattern is the mark in the preset mode mark group, it is determined that the pattern of the service communication pattern Identifier is effective, if the mode identifier of the service communication pattern is effective, then according to default group character group, whether the packet identifier for judging the service communication pattern is mark in the default group character group, if the packet identifier of the service communication pattern is the mark in the default group character group, it is determined that the packet identifier of the service communication pattern is effective;Wherein, the preset mode mark group includes at least one mode identifier;The default group character group includes at least one packet identifier.
  22. Device according to claim 21, it is characterised in that
    The receiving port, it is additionally operable to before the packet identifier of correction verification module mode identifier successively to the service communication pattern and the service communication pattern is verified, receive the 6th access instruction that the corresponding processor of management communication pattern is sent, and the internal storage access address in the 6th access instruction, memory address section according to belonging to the internal storage access address determines the internal storage access address, and configure the preset mode mark group and the default group character group for memory address section.
CN201480033937.7A 2014-11-28 2014-11-28 Access partition method and device Active CN105900070B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/092479 WO2016082185A1 (en) 2014-11-28 2014-11-28 Access isolation method and apparatus

Publications (2)

Publication Number Publication Date
CN105900070A true CN105900070A (en) 2016-08-24
CN105900070B CN105900070B (en) 2019-03-08

Family

ID=56073380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480033937.7A Active CN105900070B (en) 2014-11-28 2014-11-28 Access partition method and device

Country Status (2)

Country Link
CN (1) CN105900070B (en)
WO (1) WO2016082185A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080222369A1 (en) * 2005-07-21 2008-09-11 Mtekvision Co., Ltd. Access Control Partitioned Blocks in Shared Memory
CN101566972A (en) * 2009-05-12 2009-10-28 苏州国芯科技有限公司 Safety control method of user multi-partitioned memory space access right in embedded system
CN102567275A (en) * 2010-12-08 2012-07-11 中国科学院声学研究所 Method and system for memory access among multiple operation systems on multi-core processor
CN103713954A (en) * 2013-12-25 2014-04-09 华为技术有限公司 Processor module and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080222369A1 (en) * 2005-07-21 2008-09-11 Mtekvision Co., Ltd. Access Control Partitioned Blocks in Shared Memory
CN101566972A (en) * 2009-05-12 2009-10-28 苏州国芯科技有限公司 Safety control method of user multi-partitioned memory space access right in embedded system
CN102567275A (en) * 2010-12-08 2012-07-11 中国科学院声学研究所 Method and system for memory access among multiple operation systems on multi-core processor
CN103713954A (en) * 2013-12-25 2014-04-09 华为技术有限公司 Processor module and electronic device

Also Published As

Publication number Publication date
WO2016082185A1 (en) 2016-06-02
CN105900070B (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN109302466B (en) Data processing method, related device and computer storage medium
US10783086B2 (en) Method and apparatus for increasing a speed of accessing a storage device
US10833715B2 (en) Embedded subscriber identity module including communication profiles
US20110191484A1 (en) Hierarchical routing and interface selection for multi-processor multimode network devices
CN112312378B (en) Sharing method and device of operator network and core network equipment
CN102316043B (en) Port virtualization method, switch and communication system
CN110177010B (en) Link switching method and device
CN107094305A (en) A kind of cut-in method of wireless network, device and user terminal
CN107770298B (en) Method and device for transmitting data
CN104918225A (en) Implementation method and device of bi-pass function of double-card single-pass terminal
CN105162786A (en) POWERLINK slave station frame buffer management system based on FPGA (Field Programmable Gate Array)
KR102584833B1 (en) Access control information transmission method, apparatus, and network side device
CN104468389A (en) Message processing method, servers and server system
CN111511041B (en) Remote connection method and device
CN105611046B (en) The Android mobile phone safety system of a kind of strategy customization and guard method thereof
CN105900070A (en) Access isolation method and apparatus
US9824044B2 (en) Common public radio interface (CPRI) lane controller coupled to direct memory access (DMA) wherein a time division duplex (TDD) steers control of CPRI
CN110401967A (en) A kind of information processing method, device, base station and computer storage medium
CN114143855A (en) Network automatic connection method and device
EP3934351A1 (en) Communication method, terminal and network device
CN106028303A (en) Smart device discovering method and device
CN109246681A (en) A kind of terminal method of network entry and device
WO2018010600A1 (en) Exception handling method and device, and computer storage media
US10419432B2 (en) Method and apparatus for use with different memory maps
CN116846848B (en) ACL template configuration method and device, storage medium and electronic equipment

Legal Events

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