A method for loading instruction blocks, softswitch equipment and system
A soft-switching and instruction block technology, applied in the field of communication, can solve the problems of long compilation time of instruction blocks and affect the loading efficiency of instruction blocks, and achieve the effect of improving loading efficiency and saving code compilation time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0087] The embodiment of the present invention provides a method for loading instruction blocks, which can be applied to softswitch equipment, such as figure 1 As shown, the instruction block loading method includes:
[0088] S101. The softswitch device receives a code file of an instruction block to be loaded issued by a controller, where the code file includes a source code of the instruction block to be loaded.
[0089] Among them, the programmer can use a high-level programming language to write the source code for each instruction block (instruction block to be loaded) on the controller, and the source code is used to edit or forward the message.
[0090] Exemplarily, the high-level programming language used by programmers to write the source code may be C language. Among them, programmers can use pointers in C language to replace the description of Field in POF technology, and use ordinary C language assignment, conditional judgment and other statements to intuitively r...
Embodiment 2
[0154] An embodiment of the present invention provides a soft switch device, such as Image 6 As shown, the softswitch device includes: a receiving unit 31 , a converting unit 32 , a compiling unit 33 and a loading unit 34 .
[0155] The receiving unit 31 is configured to receive the code file of the instruction block to be loaded delivered by the controller, the code file including the source code of the instruction block to be loaded.
[0156] The conversion unit 32 is configured to convert the source code received by the receiving unit 31 into an instruction block code, where the format of the instruction block code is a compiling format supported by the softswitch device.
[0157] The compiling unit 33 is configured to compile the instruction block code converted by the converting unit 32 into a binary machine code.
[0158] The loading unit 34 is configured to load the binary machine code compiled by the compiling unit 33 into a local process of the softswitch device.
...
Embodiment 3
[0187] An embodiment of the present invention provides a soft switch device, such as Figure 10 As shown, the soft switch device includes: a receiver 41 , a memory 42 and a processor 43 .
[0188] The receiver 41 is configured to receive the code file of the instruction block to be loaded issued by the controller, and the code file includes the source code of the instruction block to be loaded.
[0189] The memory 42 is used to store a set of program codes.
[0190] The processor 43 is configured to perform the following operations according to a set of program codes stored in the memory 41:
[0191] Converting the source code received by the receiver 41 into an instruction block code, the format of the instruction block code is a compiled format supported by the softswitch device;
[0192] Compile the instruction block code into binary machine code;
[0193] Loading the binary machine code to the local process of the softswitch device.
[0194] Further, the processor 43 i...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com