Method and apparatus for determining slice information, storage medium, and electronic device
AssigneeZte Corporation
InventorYao Liu
Life of this patent
Estimating the term…
Abstract
A method and apparatus for determining slice information, a storage medium, and an electronic device. The method includes: receiving an initial packet; determining, from pre-configured templates, a target template matching the initial packet, wherein the target template contains a target format of target slice information of a target slice associated with the initial packet; generating a target packet based on the initial packet and the target template, wherein the target packet contains the target slice information in the target format; and sending the target packet to a receiving end to instruct the receiving end to execute following operations: parsing the target packet based on the target template, so as to determine the target slice information.
Claims19
A method for determining slice information, comprising:
- receiving an initial packet;
- determining, from pre-configured templates, a target template matching the initial packet, wherein the target template contains a target format of target slice information of a target slice associated with the initial packet;
- generating a target packet based on the initial packet and the target template, wherein the target packet contains the target slice information in the target format;
- and
- sending the target packet to a receiving end to instruct the receiving end to execute following operations:
- parsing the target packet based on the target template, so as to determine the target slice information;
- wherein determining, from the pre-configured templates, the target template matching the initial packet comprises:
- comparing the target slice information with first slice information contained in a first template to obtain a comparison result, wherein the first template is any template in the pre-configured templates, and the comparison result indicates whether the target slice information contains the first slice information;
- and
- in a case where the comparison result indicates that the target slice information contains the first slice information, determining that the first template is the target template.
A method for determining slice information, comprising:
- acquiring a target packet from a sending end, wherein the target packet is generated based on an initial packet and a target template matching the initial packet, the target template contains a target format of target slice information of a target slice associated with the initial packet, and the target packet contains the target slice information in the target format;
- the target template is determined by the sending end by comparing the target slice information with first slice information contained in a first template, so as to obtain a comparison result, in a case where the comparison result indicates that the target slice information contains the first slice information, determining that the first template is the target template, wherein the first template is any template in the pre-configured templates, and the comparison result indicates whether the target slice information contains the first slice information;
- determining the target template based on the target packet;
- and
- parsing the target packet based on the target template to determine the target slice information.
Dependencies are inferred from the claim text.